load

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You didn't say how granular you need to get, so I am not sure if this will 
help you:

look at the contents of /proc/loadavg

This file contains the average CPU utilization for 1, 5 & 15 minutes.

On Tuesday 26 March 2002 05:53 pm, you wrote:
Hi,
   I want to determine the load on the machine through C API. Can anyone help
 me. thanks

-- 
rm -rf /bin/laden
Do it now and often!





[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux