[collectd] cpu module and saving jiffies / OpenBSD

Florian Forster octo at verplant.org
Mon Aug 11 16:53:27 CEST 2008


Hi again..

On Mon, Aug 04, 2008 at 05:39:28PM +0200, Michael Stapelberg wrote:
> Not only it confuses some users, but using jiffies (or whatever the
> equivalent is) just plainly does not work well on OpenBSD.

Why?

> libstatgrab, which has to be used on OpenBSD for collecting these
> values, ...

The CPU plugin uses `sysctlbyname' which, apparently, is a FreeBSD
thing. OpenBSD and NetBSD apparently use `sysctl' for that. If you want
I can try to add that to the plugin, but I cannot test it. I'd need your
help for that..

Regards,
-octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080811/4f63a570/attachment.pgp 


More information about the collectd mailing list