From: Alex L. <al...@no...> - 2004-03-21 05:02:19
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Recently, I've installed lcd4linux version 0.9.11 on my Gentoo Linux system. I setup the config files and everything seems to work. However, the Hard Disk IO stats doesn't seems to move and i checked it with "lcd4linux -F -vvv" and it seems that the /proc/stat no longer contains the information it needs to get the disk_io and disk_rblk. Error: "parse(/proc/stat) failed: neither 'disk_io' nor 'disk_rblk' found" I cat /proc/stat on a 2.4.24 kernel system and I see the lines for disk_io and disk_rblk. However, when i do it on all 4 of my systems running Kernel 2.6.x, none of them have it. I'm just wondering if there's any patch for this or is there something wrong with the Kernel 2.6 or will this ever gonna work? Best Regards, -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAXSHZB7imX08NWxERAjPBAKDap6fpUhbNc/szmlmHY/yJPMSjQgCfUgQA mh/vGtSZ98agoHZy/b/VET4= =Lemn -----END PGP SIGNATURE----- |
From: Alex L. <al...@no...> - 2004-03-21 09:39:57
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, After looking over vmstat for a bit, it seems they've calculated the sums of the disk stats from /proc/diskstat. Maybe it's possible to read from that? (Just wondering if it's possible to have this work with Kernel 2.6.x) Best Regards, | Hi, | | Recently, I've installed lcd4linux version 0.9.11 on my Gentoo Linux | system. I setup the config files and everything seems to work. However, | the Hard Disk IO stats doesn't seems to move and i checked it with | "lcd4linux -F -vvv" and it seems that the /proc/stat no longer contains | the information it needs to get the disk_io and disk_rblk. | | Error: "parse(/proc/stat) failed: neither 'disk_io' nor 'disk_rblk' found" | | I cat /proc/stat on a 2.4.24 kernel system and I see the lines for | disk_io and disk_rblk. However, when i do it on all 4 of my systems | running Kernel 2.6.x, none of them have it. I'm just wondering if | there's any patch for this or is there something wrong with the Kernel | 2.6 or will this ever gonna work? | | Best Regards, | | | ------------------------------------------------------- | This SF.Net email is sponsored by: IBM Linux Tutorials | Free Linux tutorial presented by Daniel Robbins, President and CEO of | GenToo technologies. Learn everything from fundamentals to system | administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click | _______________________________________________ | Lcd4linux-devel mailing list | Lcd...@li... | https://lists.sourceforge.net/lists/listinfo/lcd4linux-devel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAXWLmB7imX08NWxERArVoAKCviMd/U7VS8RHoqbHfv4XHND+RpQCgw0mM Fcv6m9QsbmHgKgQrSMrB92c= =v56P -----END PGP SIGNATURE----- |
From: Michael R. <re...@eu...> - 2004-03-21 23:03:32
|
Hi Alex, >> Recently, I've installed lcd4linux version 0.9.11 on my Gentoo >> Linux | system. I setup the config files and everything seems to >> work. However, | the Hard Disk IO stats doesn't seems to move and i >> checked it with | "lcd4linux -F -vvv" and it seems that the >> /proc/stat no longer contains | the information it needs to get the >> disk_io and disk_rblk. > After looking over vmstat for a bit, it seems they've calculated the > sums of the disk stats from /proc/diskstat. Maybe it's possible to > read from that? (Just wondering if it's possible to have this work > with Kernel 2.6.x) Hmmm, this is bad news. I will look into this as soon as my kernel 2.6 is up and running (which may take several weeks, because there are som mission-critical things not working with 2.6) Our main kernel we're developing with is still 2.4. Xavier, do you have time to take a look at this? bye, Michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |
From: Xavier V. <xav...@fr...> - 2004-03-23 16:57:11
|
Hi all ! > >> Recently, I've installed lcd4linux version 0.9.11 on my Gentoo > >> Linux | system. I setup the config files and everything seems to > >> work. However, | the Hard Disk IO stats doesn't seems to move and i > >> checked it with | "lcd4linux -F -vvv" and it seems that the > >> /proc/stat no longer contains | the information it needs to get the > >> disk_io and disk_rblk. > > After looking over vmstat for a bit, it seems they've calculated the > > sums of the disk stats from /proc/diskstat. Maybe it's possible to > > read from that? (Just wondering if it's possible to have this work > > with Kernel 2.6.x) > Xavier, do you have time to take a look at this? Err... I may find time for this, but I don't promise you anything ! This WE I'll have to study as next week I have exams :/ But then I'm in holidays for 2 weeks :) BTW: this WE France will switch to 'summer time', we'll be at GMT+2, so please set cron to send the patches at 16h from Austria :) Bye ! |
From: Alex L. <al...@no...> - 2004-03-21 23:44:00
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Thanx for the reply Michael. Well, while i was waiting for this reply, I was looking at the procps's source in "vmstat.c" and "proc/sysinfo.c". It seems there isn't any centralized value for read/write io anymore and a sum has to be calculated from IDE devices (type 3) and SCSI devices (type 8) in the file. I guess umm... I'll wait for some generous soul to release a fix for this. Hehe.. and it's really nice to know someone's looking into this matter as well. =) Thanx lots, ~Alex | Hi Alex, | |>> Recently, I've installed lcd4linux version 0.9.11 on my Gentoo |>> Linux | system. I setup the config files and everything seems to |>> work. However, | the Hard Disk IO stats doesn't seems to move and i |>> checked it with | "lcd4linux -F -vvv" and it seems that the |>> /proc/stat no longer contains | the information it needs to get the |>> disk_io and disk_rblk. | |> After looking over vmstat for a bit, it seems they've calculated the |> sums of the disk stats from /proc/diskstat. Maybe it's possible to |> read from that? (Just wondering if it's possible to have this work |> with Kernel 2.6.x) | | Hmmm, this is bad news. | | I will look into this as soon as my kernel 2.6 is up and running (which | may take several weeks, because there are som mission-critical things | not working with 2.6) | | Our main kernel we're developing with is still 2.4. | | Xavier, do you have time to take a look at this? | | bye, Michael | | -- | Michael Reinelt Tel: +43 676 3079941 | Geisslergasse 4 Fax: +43 316 692343 | A-8045 Graz, Austria e-mail: re...@eu... | | | ------------------------------------------------------- | This SF.Net email is sponsored by: IBM Linux Tutorials | Free Linux tutorial presented by Daniel Robbins, President and CEO of | GenToo technologies. Learn everything from fundamentals to system | administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click | _______________________________________________ | Lcd4linux-devel mailing list | Lcd...@li... | https://lists.sourceforge.net/lists/listinfo/lcd4linux-devel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAXii2B7imX08NWxERAukyAKDbBCgLfl8jlZY6r6Yk4mPa3T7ohwCg1X22 xbCCO7ppVVxnz3z62tEdSXs= =LmmK -----END PGP SIGNATURE----- |