top and multiple CPU's

Bob Johnson fbsdlists at gmail.com
Thu Jul 13 22:03:51 UTC 2006


On 7/13/06, stan <stanb at panix.com> wrote:
> On Thu, Jul 13, 2006 at 06:08:50PM +0530, Ashok TM wrote:
> > use
> > top -S
> > There will be new column with  'C'  tag which displays the the cpu id  on
> > which the process is running
> >
> > mptables to list the processors available
>
> Hmm,
>
> cvsup# mptables
> mptables: Command not found.
> cvsup# man -k mptables
> mptables: nothing appropriate
>
> and the man page for top says that _s os:
>
>        -S     Show system processes in the  display.   Normally,
> 	   system pro- cesses  such  as  the pager and the swapper are not shown.
> 	   This option makes them visible.
>
> Am I mising something?

Perhaps you haven't actually tried it to see what happens. On 5.4,
there is not an extra column, but top -S includes each CPU's idle
percentage as a separate system process, so you can get some idea of
how well balanced things are.  Perhaps the description above was for
7-CURRENT and 6.1-R acts more like 5.4. I don't have a 6.1 SMP system
to test it on.

5.4 also doesn't seem to have mptables.

- Bob


More information about the freebsd-questions mailing list