APC - CPU load monitor
Description
CPU load monitor which presents two views on the load ("/proc/stat" and "custom" based)
Make sure to read the
README
LKML thread
LKML thread with more information
Hog - small test case in C that showcases the problem (2.0k)
"custom" methods consists of measuring the time spent in idle handler
CPU load is taken to mean ([0..1] scale):
time spent in idle handler 1 - -------------------------- total time elapsed
Compatibility
Known to work on some combinations of Linux and X86/PowerPC
Preliminary Windows NT support is in place:
binaries/screenshot
(Idle timing requires some extra effort, details in relevant README)
Preliminary Mac OS X and Solaris support (no idle timing, Solaris seemingly can do without):
screenshots
Obtaining
Sources:
apc-1.02.tgz (26k)
Screenshots
Hog running on otherwise unloaded Athlon-Tbird
(53k)
Hog running on otherwise unloaded Athlon-X2
(21k)
Slightly modified pair of hogs running on otherwise unloaded Intel-Core 2 Duo
(24k)
Slightly modified hog running on otherwise unloaded PPC
(45k)
LBreakout 010315 running on otherwise unloaded X86 system
(56k)
LBreakout 010315 running on otherwise unloaded PPC system
(58k)
LBreakout2 running on otherwise unloaded X86 Windows XP system
(215k)
On the right is the load calculated based on information provided by the kernel module (i.e. time spent in idle function)
Left is based on the OS provided statistics
malc
Last modified: Wed Feb 8 04:19:17 MSK 2012