linux-smp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Satchidananda Patra" <satchi.patra@engineer.com>
To: linux-smp@vger.kernel.org
Subject: Unable to dispaly Multiprocessing status using "TOP" command
Date: Wed, 28 Dec 2005 05:46:23 -0500	[thread overview]
Message-ID: <20051228104623.2F91C83C05@ws1-1.us4.outblaze.com> (raw)

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/


             reply	other threads:[~2005-12-28 10:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-28 10:46 Satchidananda Patra [this message]
2005-12-28 12:09 ` Unable to dispaly Multiprocessing status using "TOP" command Alexander Rauth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051228104623.2F91C83C05@ws1-1.us4.outblaze.com \
    --to=satchi.patra@engineer.com \
    --cc=linux-smp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).