[Gllug] 1 min load average

Nix nix at esperi.org.uk
Tue Aug 30 08:37:46 UTC 2005


On Tue, 30 Aug 2005, Minty stipulated:
> On 8/29/05, Daniel P. Berrange <dan at berrange.com> wrote:
>> Urm, according to the man page, uptime already returns the 1/5/15 minute
>> uptime - same on both my RHEL-3 & Debian Woody boxes.
> 
> Doh.  Okay, change to wanting a loadaverage over 15-30 seconds then...
> whilst keeping the 1/5/15 minute uptime values intact...

You would need to modify the kernel, adding an extra field to /proc/uptime.
(Add it at the end and you *might* be lucky and avoid breaking users.)

-- 
`... published last year in a limited edition... In one of the
 great tragedies of publishing, it was not a limited enough edition
 and so I have read it.' --- James Nicoll
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list