Strange systat output on SMP FreeBSD 5.0-Current

John Baldwin jhb at FreeBSD.org
Thu May 15 13:46:16 PDT 2003


On 15-May-2003 Killing wrote:
>                     /0   /10  /20  /30  /40  /50  /60  /70  /80  /90  /100
>              <idle> XXXXXXXXXX  
> root     idle: cpu1 XXXXXXXXXX  
> root     idle: cpu2 XXXXXXXXXX  
> root     idle: cpu3 XXXXXXXXXX  
> root     idle: cpu0 XXXXXXXXXX
> 
> Looks rather strange to me is this right? Its a dual Xeon box which
> has hyperthreading enabled so there should be 4 cpus  how come
> there are 5 idle "processes" 1 for each cpu + <idle>?

The <idle> is not a process, it's a measure of how idle the system is.
It's generated from the same thing %idle in top(1) comes from.
Probably systat should ignore the actual idle processes.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the freebsd-smp mailing list