[ILUG-BOM] % CPU Utilisation in C

Devdas Bhagat devdas@[EMAIL-PROTECTED]
Sun Mar 27 21:41:13 IST 2005


On 27/03/05 15:59 +0530, Sajid ali Baig wrote:
> hi,
> I want to find the average percentage CPU utilisation in C.can any one
> help me out.

Depending on the OS, you have to do different things. In Linux, look at
/proc, in particular, /proc/loadavg. man proc is your friend.

Devdas Bhagat



More information about the Linuxers mailing list