for details and a patch for those who might need a quick solution.
The difference between the 2.4 and 2.6 kernels are that 2.6 is returning
more information about system statuses in /proc. The information is not
available in 2.4 and therefore not returned when reading from
/proc/stat.
The problem in top is: uninitialized variables of the values to be read.
The second patch in the issue above initializes the values before use.
Stephen
Am Fr, den 05.12.2003 schrieb Thomas Vander Stichele um 18:22:
Hi,
I have three machines running FC1. On those three, when I run top to
check system usage, I see the load averages at sane values.
The lines displaying CPU usage are totally off. Either they're all at
0%, or irq, softirq and iowait are sharing everything among themselves,
like this:
CPU states: cpu user nice system irq softirq iowait idle
total 0,0% 0,0% 0,0% 33,3% 33,4% 33,1% 0,0%
Is anyone else seeing this ? Is this a known bug in top ? The only thing
similar on the three machines is that I'm running stuff niced as well,
but it shouldn't matter...
Thomas
--
fedora-devel-list mailing list
fedora-devel-list(a)redhat.com
http://www.redhat.com/mailman/listinfo/fedora-devel-list