multiprocessors

Tom Trelvik ttt at cwru.edu
Thu Apr 7 06:38:48 PDT 2005


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


More information about the freebsd-questions mailing list