/proc/loadavg?

Chuck Swiger cswiger at mac.com
Fri Apr 7 16:23:14 UTC 2006


Andy Greenwood wrote:
> Does FreeBSD have a location that stores the load average information,
> similarly to /proc/loadavg in Linux? I've got a php site that displays this
> info, but I'm not sure where to point it to.

While you can mount /proc under FreeBSD, too, /proc has a bad security 
record and is disabled for a reason.  Consider looking at the output of 
sysctl, instead, specificly: "sysctl vm.loadavg"...

-- 
-Chuck


More information about the freebsd-questions mailing list