Yves Bellefeuille wrote:
> On Friday 14 September 2007, Michael Bane wrote:
> 
> 
>>top - 15:07:47 up 10 days,  4:58, 11 users,  load average: 2.18,
>>2.10, 2.18
>>Tasks: 162 total,   4 running, 158 sleeping,   0 stopped,   0 zombie
>>Cpu(s):  2.6%us,  0.7%sy,  0.9%ni, 94.7%id,  0.5%wa,  0.1%hi, 
>>0.5%si, 0.0%st
>>Mem:   3989488k total,  1331328k used,  2658160k free,    58332k
>>buffers Swap:  2031608k total,   292344k used,  1739264k free,  
>>502920k cached
>>
>>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  P COMMAND
>>20657 mkb       39  19 24400  18m  720 R  100  0.5  30:35.13 0 mprime
>>20658 mkb       39  19 24408  18m  732 R   75  0.5  30:28.15 1 mprime
> 
> 
> I'm sure that others will be able to give you a more precise 
> explanation, but it seems to me that your "top" report contradicts 
> itself. It says that your system is 95 % idle, but at the same time it 
> shows that mprime is using 100 % and 75 % of the CPU. (I assume that 
> the way that "top" works with your Intel Core2 Duo is that it adds up 
> to 200 %.)

I'm not sure that the information provided by top is
a "snapshot". ISTR (though a quick look at a man on it didn't
show this) that it reads information sequentially, and is not
guaranteed to add up to anything. It may be that the system
overall is 95% idle, but that when top looked, mprime was
active, and used 100% of one and 75% of the other proc.

> If the part about your system being 95 % idle is correct, then it seems 
> to me that Maxload is working properly.

Probably.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!
_______________________________________________
Prime mailing list
[email protected]
http://hogranch.com/mailman/listinfo/prime

Reply via email to