top problems

Stephen Reindl sr at stephenreindl.de
Sun Dec 7 10:06:34 UTC 2003


Hi,

please see 

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=109484

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 at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-devel-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20031207/164b5f2f/attachment.sig>


More information about the fedora-devel-list mailing list