Michael Beattie wrote: > Believe it or not, Load average is a better indicator of CPU usage, but in > linux it sucks.. <snip>
For the load average you can look at /proc/loadavg. First 3 numbers are the 1/5/10 minute averages, the next two numbers (separated with a forward slash just to make things difficult) are the number of running processes (at that exact point in time) and the total amount of processes. The last number is the the most recently allocated pid. The above is from memory. And it doesn't help the original question ;) Cheers, - Dave http://www.digistar.com/~dmann/
