Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Apr 2006 12:23:09 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Andy Greenwood <greenwood.andy@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: /proc/loadavg?
Message-ID:  <443691ED.7050709@mac.com>
In-Reply-To: <3ee9ca710604070714w3eb76c6cvbe9f85d2a87bbbc2@mail.gmail.com>
References:  <3ee9ca710604070714w3eb76c6cvbe9f85d2a87bbbc2@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?443691ED.7050709>