linux-smp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Rauth <Alexander.Rauth@promotion-ie.de>
To: Satchidananda Patra <satchi.patra@engineer.com>
Cc: linux-smp@vger.kernel.org
Subject: Re: Unable to dispaly Multiprocessing status using "TOP" command
Date: Wed, 28 Dec 2005 13:09:45 +0100	[thread overview]
Message-ID: <1135771786.11089.4.camel@pro30.local.promotion-ie.de> (raw)
In-Reply-To: <20051228104623.2F91C83C05@ws1-1.us4.outblaze.com>

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 <Alexander.Rauth@promotion-ie.de>


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

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

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=1135771786.11089.4.camel@pro30.local.promotion-ie.de \
    --to=alexander.rauth@promotion-ie.de \
    --cc=linux-smp@vger.kernel.org \
    --cc=satchi.patra@engineer.com \
    /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).