getting cpu statistics - munin
Csillag Tamas
cstamas at digitus.itk.ppke.hu
Tue Oct 17 04:03:45 PDT 2006
Joerg Sonnenberger wrote:
On Tue, Oct 17, 2006 at 10:11:50AM +0200, Csillag Tamas wrote:
Hi,
I've just installed DFly on my server. So far so good.
I'm trying to get cpu usage statistics with munin. A plugin in included
for FreeBSD which queries kern.cp_time via sysctl.
But on DFlyBSD I get: sysctl: unknown oid 'kern.cp_time'.
Take a look at kinfo_get_sched_cputime.
Joerg
Vladimir's example was a bit easier. That way I do not have to dig down
and use C. Just a userspace app. But good to know this API if I need
sometime...
Thanks anyways.
More information about the Users
mailing list