Re: How the CPU Usage calculated in Linux server



san wrote:
Hi All,

I have two questions. The first One:

Considering I have run Seti@home from the time I switched to Linux and as I have never had more than a single core and as I have always gotten load average numbers well above 1 I have never taken it as more than a rough guideline of no particular value.

I suggest a more objective way is to run top and sum up the %CPU numbers that are non-zero and take that as the usage.

As for usage of cores it is not clear how anything but a specialized utility could determine that.

--
A mining town of 1000 people has all the families interelated. 100 of them
die in a mine accident. Each of the 900 survivors has lost 100 relatives for
a grand total of 90,000 dead relatives. I give you the holocaust.
-- The Iron Webmaster, 3850
nizkor http://www.giwersworld.org/nizkook/nizkook.phtml
environmentalism http://www.giwersworld.org/environment/aehb.phtml a9
.