On Wed, 1 Feb 2006, John Peacock wrote:

Mark Powell wrote:
What about:

http://search.cpan.org/~clintdw/Sys-CpuLoad-0.03/

That gets us FreeBSD/OpenBSD, as well as Linux /proc support, and a fallback to /usr/bin/uptime (which should be everywhere *nix). But it requires an external dependency, of which there are few in the core.

Is there another way to call getloadavg() from perl under BSD?
  Cheers.

--
Mark Powell - UNIX System Administrator - The University of Salford
Information Services Division, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 4837  Fax: +44 161 295 5888  www.pgp.com for PGP key

Reply via email to