DragonFly BSD
DragonFly users List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

SMP CPU Statistics


From: John Leimon <jleimon@xxxxxxxxxxxxx>
Date: Sun, 24 Apr 2005 11:16:07 +0000

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



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