Re: Unable to dispaly Multiprocessing status using "TOP" command

Alexander Rauth <[email protected]> Wed, 28 Dec 2005 13:09:45 +0100
Newsgroups org.kernel.vger.linux-smp
Message-ID <[email protected]>
Am Mittwoch, den 28.12.2005, 05:46 -0500 schrieb Satchidananda Patra:
> but in "top" command its showing only 1 CPU (CPU0).

That's not CPU0 ... it's the average value over all CPU(s) as top
explicit shows. To toggel the display mode to show all CPUs seoerate
press '1'. and 'h' shows all available commands....

> [root@localhost]# top
> 
> top - 16:15:33 up  4:01, 10 users,  load average: 1.02, 1.47, 1.73
> Tasks: 150 total,   1 running, 148 sleeping,   1 stopped,   0 zombie
> Cpu(s):  0.6% us,  0.1% sy,  0.0% ni, 74.4% id, 24.9% wa,  0.0% hi,  0.0% si
> Mem:   7154768k total,  3190156k used,  3964612k free,    99952k buffers
> Swap: 12289716k total,  1670244k used, 10619472k free,  1038516k cached
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>  3138 root      15   0  183m  36m 4932 S    2  0.5   3:38.93 X
> 22532 root      16   0  6336 1068  776 S    0  0.0   0:03.99 top
> 25588 root      16   0  6336 1056  776 R    0  0.0   0:00.01 top
> 
> 
> I have recompiled the kernel with SMP support & booting the system with "kernel-smp".But still the same issue.
> 
> Could you please suggest if anything need to be modified to get all the CPU statistics in "top" command.
> 
> Thanks in advance.
> 
> -Satchi-
> 
next time take a look at the man-pages first...
"man top" would have told you this information withing seconds

Alexander

-- 
Alexander Rauth <[email protected]>