Monitoring CPU time

Francois Tigeot ftigeot at wolfpond.org
Sun Apr 4 02:10:17 PDT 2010


Hi,

I'm currently playing with munin http://munin-monitoring.org/ and I would like
to monitor the CPU usage on DragonFly hosts.

The FreeBSD plugin uses the sysctl kern.cp_time, which is not present on
DragonFly. Is there any way to easily get the different percentages of nice,
idle, user, system, etc... time from a shell ?

FreeBSD cpu usage plugin sources:
http://munin-monitoring.org/browser/trunk/node/node.d.freebsd/cpu.in?rev=900

-- 
Francois Tigeot





More information about the Users mailing list