There's a tool called "collectL" donated by
HP/Compaq. It's a very good tool for capturing and analyzing performance
related data. The good thing is you can sample at a higher resolution
than SAR with a low overhead..
Here's the link: http://collectl.sourceforge.net/
Cheers,
Sent: Tuesday, September 23, 2008 6:26 PM
To: Kernel Newbies
Subject: High CPU utilization detection from a kernel
module HI
Is there any mechanism by which a kernel module can
detect high CPU utilization? I can use sar
and vmstat in the userland to monitor CPU utilization, but I need a way to
detect it at kernel level for example 100% CPU utilization for over 10 msec or
evern 1 sec.
Thanks,
Bizhan
|