Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2003 13:04:02 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Petri Helenius <pete@he.iki.fi>
Cc:        freebsd-smp@FreeBSD.org
Subject:   Re: Strange systat output on SMP FreeBSD 5.0-Current
Message-ID:  <XFMail.20030516130402.jhb@FreeBSD.org>
In-Reply-To: <3EC48742.2090609@he.iki.fi>

next in thread | previous in thread | raw e-mail | index | archive | help

On 16-May-2003 Petri Helenius wrote:
> John Baldwin wrote:
> 
>>On 15-May-2003 Petri Helenius wrote:
>>  
>>
>>>>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.
>>>>
>>>>      
>>>>
>>>That would be quite bad because thatīs the only place I know where you can
>>>actually
>>>see per-CPU utilization. (of the bundled utilities)
>>>    
>>>
>>
>>top(1)
>>
>>  
>>
> Where exactly? This is from an SMP machine:
> 
> 26 processes:  2 running, 24 sleeping
> CPU states: 14.0% user,  0.0% nice,  0.2% system, 19.5% interrupt, 66.3% 
> idle
> Mem: 165M Active, 582M Inact, 205M Wired, 44M Cache, 112M Buf, 5560K Free

did you do a top -S to show system processes?  That shows you the
%time for each of the idle processes.  Btw, the <idle> below is equivalent
to the idle % above in the top display.
 
> Here is "pigs" from the same:
> root     idle: cpu0 XXXXXXXXXXXXX
>              <idle> XXXXXXXXXXXX
> root     idle: cpu1 XXXXXXXXXXXX
> root        rxxxxxx XXXXX
> root     irq18: em2 XXX
> root     irq17: em1 XXX
> 
> 
> 
> Pete
> 
> 

-- 

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030516130402.jhb>