SMP CPU Statistics

John Leimon jleimon at sbcglobal.net
Sun Apr 24 04:16:07 PDT 2005


I'm trying to write a simple CPU load monitor program that can measure load
on multiple CPUs. I have been looking at top and ps sourcecode and have
come across the kinfo_get_sched_cputime function which is basically a
measure of the overall system load. Is there any way to measure load on a
per-cpu basis?

 John





More information about the Users mailing list