I have a question.
How do I find the average load of CPU in Linux from user land? Are
there any system calls or any statistical information avaiable in
linux? I looked into the /proc/loadavg file. But it gives the number
of jobs in the run queue and doesnt give any indication of what the
current average load of the CPU.
Any suggestions are greately appreciated.