[Nagiosplug-devel] Patch to check_load to cater for multiple CPUs
Ton Voon
ton.voon at altinity.com
Thu Apr 26 00:14:59 CEST 2007
On 17 Apr 2007, at 09:55, Holger Weiss wrote:
> sysconf(3) is POSIX.1 and should be very portable, but
> _SC_NPROCESSORS_CONF isn't, at least NetBSD and IRIX don't know it
> (IRIX
> knows _SC_NPROC_CONF, I'm not aware of an equivalent on NetBSD). So
> yes, we should add an Autoconf check.
>
Thanks for the advice. I've applied a change now for
_SC_NPROCESSORS_CONF with autoconf check, and if it is not available,
but I haven't looked into _SC_NPROC_CONF, but that could be easily
added.
Ton
http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon
More information about the Devel
mailing list