YDL/RedHat difference in "top"

Christopher Murtagh yellowdog-general@lists.terrasoftsolutions.com
Sat Aug 3 22:29:01 2002


On Sun, 4 Aug 2002, Chris Ruprecht wrote:
>I have noticed, that the CPU state line in 'top' is missing in under
>YDL. Can anybody explain to me in simple words <grin> why that would be
>like that?

 AFAIK, you will only get the CPU states with an SMP kernel. So if you
compile your kernel with SMP you will get it, otherwise not.

 On my single CPU G4 I get this:

 12:27am  up 187 days, 21:35,  1 user,  load average: 0.00, 0.04, 0.02
79 processes: 78 sleeping, 1 running, 0 zombie, 0 stopped
Mem:   897736K av,  808396K used, 89340K free, 0K shrd,   22436K buff
Swap:  262136K av,   25576K used,  236560K free        445332K cached

 and on a DualG4/450:

 12:31am  up 10 days, 15:23,  1 user,  load average: 0.00, 0.00, 0.00
86 processes: 85 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
CPU1 states:  0.1% user,  1.0% system,  0.0% nice, 97.0% idle
Mem:   512740K av,  510036K used,    2704K free,  0K shrd,  1408K buff
Swap:  262136K av,   72944K used,  189192K free           426864K cached

 Both are running the same kernel, but one with SMP turned on.

Cheers,

Chris

-- 

Christopher Murtagh
Webmaster / Sysadmin
Web Communications Group
McGill University
Montreal, Quebec
Canada

Tel.: (514) 398-3122
Fax:  (514) 398-2017