Re: [CentOS] iotop :: OSError: Netlink error: Invalid argument (22)

2012-03-09 Thread Benjamin Hackl
Dear Adrian,

On Fri, 9 Mar 2012 09:17:59 +0200
Adrian Sevcenco adrian.sevce...@cern.ch wrote:

 anyone have any idea about this problem and how can i debug/fix it?

Do you have python-ctypes installed?

Besides iotop does not work for kernels  2.6.20. You need a patched
kernel. The rpm package from http://guichaz.free.fr/iotop/ works also
on non standard el5 kernels but shows no more information than iostat.

Further information can be found in
https://bugzilla.redhat.com/show_bug.cgi?id=641496 and 
https://bugzilla.redhat.com/show_bug.cgi?id=557062

Brgds


-- 
Freundliche Gruesse/Best Regards
Benjamin Hackl
IT/Administration

Media FOCUS Research Ges.m.b.H.
Maculangasse 8, 1220 Wien Austria
Tel: +43 1 258 97 01-295
b.ha...@focusmr.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iotop :: OSError: Netlink error: Invalid argument (22)

2012-03-09 Thread Markus Falb
On 9.3.2012 08:17, Adrian Sevcenco wrote:
 Hi! i have a problem with iotop :
 
 root@alien: ~ # iotop
 Traceback (most recent call last):
   File /usr/bin/iotop, line 16, in ?
 main()
   File /usr/lib/python2.4/site-packages/iotop/ui.py, line 567, in main
 main_loop()
   File /usr/lib/python2.4/site-packages/iotop/ui.py, line 557, in lambda
 main_loop = lambda: run_iotop(options)
   File /usr/lib/python2.4/site-packages/iotop/ui.py, line 465, in
 run_iotop
 return curses.wrapper(run_iotop_window, options)
   File /usr/lib64/python2.4/curses/wrapper.py, line 44, in wrapper
 return func(stdscr, *args, **kwds)
   File /usr/lib/python2.4/site-packages/iotop/ui.py, line 457, in
 run_iotop_window
 process_list = ProcessList(taskstats_connection, options)
   File /usr/lib/python2.4/site-packages/iotop/data.py, line 375, in
 __init__
 self.update_process_counts()
   File /usr/lib/python2.4/site-packages/iotop/data.py, line 431, in
 update_process_counts
 stats = self.taskstats_connection.get_single_task_stats(thread)
   File /usr/lib/python2.4/site-packages/iotop/data.py, line 158, in
 get_single_task_stats
 reply = self.connection.recv()
   File /usr/lib/python2.4/site-packages/iotop/netlink.py, line 229, in
 recv
 raise err
 OSError: Netlink error: Invalid argument (22)
 
 
 CentOS release 5.5 (Final)

Your kernel is too old. You need at least 2.6.18-238.el5 (This was the
first 5.6 kernel)

 iotop-0.4.3-4.el5
 
 python-2.4.3-46.el5

It seems you have a partially updated system. These Packages are from 5.8



-- 
Kind Regards, Markus Falb



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iotop :: OSError: Netlink error: Invalid argument (22)

2012-03-09 Thread Karanbir Singh
On 03/09/2012 09:38 AM, Benjamin Hackl wrote:
 Dear Adrian,
 
 On Fri, 9 Mar 2012 09:17:59 +0200
 Adrian Sevcenco adrian.sevce...@cern.ch wrote:
 
 anyone have any idea about this problem and how can i debug/fix it?
 
 Do you have python-ctypes installed?
 
 Besides iotop does not work for kernels  2.6.20. You need a patched
 kernel. The rpm package from http://guichaz.free.fr/iotop/ works also
 on non standard el5 kernels but shows no more information than iostat.

thats not true. the EL kernels have block dev accounting backported in,
use the iotop from EPEL, and use a recent'ish kernel for CentOS-5, and
you should be fine.



-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
ICQ: 2522219| Yahoo IM: z00dax  | Gtalk: z00dax
GnuPG Key : http://www.karan.org/publickey.asc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] iotop :: OSError: Netlink error: Invalid argument (22)

2012-03-08 Thread Adrian Sevcenco
Hi! i have a problem with iotop :

root@alien: ~ # iotop
Traceback (most recent call last):
  File /usr/bin/iotop, line 16, in ?
main()
  File /usr/lib/python2.4/site-packages/iotop/ui.py, line 567, in main
main_loop()
  File /usr/lib/python2.4/site-packages/iotop/ui.py, line 557, in lambda
main_loop = lambda: run_iotop(options)
  File /usr/lib/python2.4/site-packages/iotop/ui.py, line 465, in
run_iotop
return curses.wrapper(run_iotop_window, options)
  File /usr/lib64/python2.4/curses/wrapper.py, line 44, in wrapper
return func(stdscr, *args, **kwds)
  File /usr/lib/python2.4/site-packages/iotop/ui.py, line 457, in
run_iotop_window
process_list = ProcessList(taskstats_connection, options)
  File /usr/lib/python2.4/site-packages/iotop/data.py, line 375, in
__init__
self.update_process_counts()
  File /usr/lib/python2.4/site-packages/iotop/data.py, line 431, in
update_process_counts
stats = self.taskstats_connection.get_single_task_stats(thread)
  File /usr/lib/python2.4/site-packages/iotop/data.py, line 158, in
get_single_task_stats
reply = self.connection.recv()
  File /usr/lib/python2.4/site-packages/iotop/netlink.py, line 229, in
recv
raise err
OSError: Netlink error: Invalid argument (22)


CentOS release 5.5 (Final)

iotop-0.4.3-4.el5

python-2.4.3-46.el5

anyone have any idea about this problem and how can i debug/fix it?
Thanks!
Adrian

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iotop

2010-06-24 Thread John Doe
From: Matt lm7...@gmail.com
 Is there something like iotop in rpm form available for 
 Centos 4.x?

The iotop homepage (http://guichaz.free.fr/iotop/) has rpms...
Older versions can be found here: http://guichaz.free.fr/iotop/files/

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] iotop

2010-06-23 Thread Matt
Is there something like iotop in rpm form available for Centos 4.x?

Matt
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iotop

2010-06-23 Thread Filipe Rosset
On 06/23/2010 07:06 PM, Matt wrote:
 Is there something like iotop in rpm form available for Centos 4.x?

 Matt

Hi Matt, take a look, only on future 5.6  6
https://bugzilla.redhat.com/show_bug.cgi?id=557062
http://people.redhat.com/jolsa/iotop/

-- 
Filipe R.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos