Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Apr 2005 09:38:47 -0400
From:      Tom Trelvik <ttt@cwru.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: multiprocessors
Message-ID:  <425537E7.70808@cwru.edu>
In-Reply-To: <42553449.3000306@haystacks.org>
References:  <1112849066.22153.19.camel@ws2.billbeau.net> <4254B432.7070401@gmx.net> <1112852084.22155.27.camel@ws2.billbeau.net> <42553449.3000306@haystacks.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Eric McCoy wrote:
> You are looking in the wrong place.  A C *column*, not a CPU *row*. 
> FreeBSD will only ever show the total CPU time on the CPU row.  This is 
> something like what you will see on an SMP system:
> 
>   PID USERNAME PRI NICE   SIZE    RES STATE  C   TIME   WCPU    CPU COMMAND
> 89704 emccoy    96    0  2484K  1660K CPU1   0   0:00  0.51%  0.05% top
> 97005 root      96    0  3092K  1248K select 1  29:28  0.00%  0.00% ntpd

	Except that that column isn't present by default when it's not running 
SMP, even if there are two processors.  Here's the output from a fresh 
install (yesterday) on a dual Opteron without SMP enabled yet:

   PID USERNAME PRI NICE   SIZE    RES STATE    TIME   WCPU    CPU COMMAND
   240 root      96    0  3268K  1776K select   0:07  0.00%  0.00% dhclient
   408 root      96    0  9468K  3572K select   0:00  0.00%  0.00% sendmail
   425 root       8    0  3620K  1264K nanslp   0:00  0.00%  0.00% cron


Tom



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425537E7.70808>