Unable to dispaly Multiprocessing status using "TOP" command

"Satchidananda Patra" <[email protected]>
Newsgroups gmane.linux.smp
Message-ID <[email protected]>
Hi,

I do have 2 dual core processors (Toal 4 cores) in my system.

I am able to see all the processors when I do "#cat /proc/cpuinfo" & also in "#mpstat -P ALL"

Linux 2.6.9-22.ELsmp  12/28/2005

04:04:39 PM  CPU   %user   %nice %system %iowait    %irq   %soft   %idle    intr /s
04:04:39 PM  all    7.74    0.00    4.12    8.64    0.14    0.40   78.95   2838. 06
04:04:39 PM    0    6.76    0.00    3.69    4.32    0.47    0.79   83.97   1759. 92
04:04:39 PM    1   10.40    0.00    4.52   13.36    0.04    0.41   71.24    377. 78
04:04:39 PM    2    8.05    0.00    4.38   12.89    0.05    0.40   74.23    410. 72
04:04:39 PM    3    5.73    0.00    3.90    3.99    0.01    0.01   86.35    289. 43
[root@localhost]#


but in "top" command its showing only 1 CPU (CPU0).

[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-

-- 
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-smp" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.