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