Core Duo - only one cpu being used

Eric Anderson anderson at centtech.com
Fri May 5 04:31:08 UTC 2006


Erich Dollansky wrote:
> Hi,
> 
> Eric Anderson wrote:
>>
>>   PID USERNAME    THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU 
>> COMMAND
>>    11 root          1 171   52     0K     8K CPU1   0   0:00 99.02% 
>> idle: cpu1
>>  2653 root          1 128    0 18564K 17560K RUN    0   0:01 34.00% 
>> cc1plus
> 
> could it be that it is just a problem with top itself?
> 
> It cannot be that CPU1 uses 99% for the idle process and 34% for the 
> compiler.
> 
> Play with the other sort options. You might find the the idle process 
> for CPU0.

Is this what you want:

$ ps -auxw | grep idle
root        11 99.0  0.0     0     8  ??  RL     7:45PM   0:00.00 [idle: 
cpu1]
root        12  0.0  0.0     0     8  ??  RL     7:45PM  51:04.57 [idle: 
cpu0]

I'm sure it could be a top issue, but other tools that don't use top 
report only 50% total cpu usage..

Eric



-- 
------------------------------------------------------------------------
Eric Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.
------------------------------------------------------------------------


More information about the freebsd-hackers mailing list