Archived

This forum has been archived. Please start a new discussion on GitHub.

Patch to enable load and CPU information for Icegrid/FreeBSD

Originally posted in Help Center (http://www.zeroc.com/forums/help-center/5380-freebsd-support-icegridnode-question-regarding-load.html), since I was unaware of the Patch forum.

The patch to PlatformInfo.cpp enables returning of cpu number and the system load for FreeBSD (the sysctl is the same as in Mac OS X). Without this patch, the node always returns "-1 -1 -1" for load and "1" for cpu (not very helpful).

cheers
Michael