home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] load averages

On Tue, Mar 08, 2005 at 06:50:06PM -0500, Trevor Curtis wrote:
> I've been reading up a bit on load averages, and looking at the output
> of /proc/loadavg. I'm writing a program where I want to get the "generic
> load average", similar to the xload, or the load applet in gnome. 
> 
> My initial thought was to use the first load average displayed by cat
> /proc/loadavg (the 10 sec avg). Does this make sense? If not, where
> should I look to get an accurate representation of the system's load?

I took a quick look in the xload sources and that's what it does.
Sounds reasonable :)

Jody

> 
> thanks,
> -- 
> Trevor Curtis
> http://www.somaradio.ca/~tcurtis
> 
> _______________________________________________
> Linux mailing list
> Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
> http://www.oclug.on.ca/mailman/listinfo/linux

-- 

references