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

Re: getting cpu statistics - munin


From: Csillag Tamas <cstamas@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Oct 2006 13:03:45 +0200

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.



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