scaling of loadavg in sensord

Aurelien Jarno lists at aurel32.net
Mon Oct 25 16:38:06 CEST 2004


Hi all!

Currently sensord is logging load1 when used with the --load-average 
option. It does not make much sense to do that for a 5 minutes RRD 
update interval (the default one).

The best solution is to let the user to choose which load he wanted to 
log according to the update interval and other things.

That's the purpose of the attached patch. Using it, it possible to 
select the load average to log. For example --load-average 1,5,15 logs 
load1, load5 and load15.

Please note that it should be applied after the patch I sent this 
morning (scaling of loadavg).

Bye,
Aurelien

-- 
    .''`.  Aurelien Jarno	       GPG: 1024D/F1BCDB73
   : :' :  Debian GNU/Linux developer | Electrical Engineer
   `. `'   aurel32 at debian.org         | aurelien at aurel32.net
     `-    people.debian.org/~aurel32 | www.aurel32.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sensord.loadavg_1_5_15.patch
Type: text/x-patch
Size: 7827 bytes
Desc: not available
URL: <http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20041025/90dcd789/attachment.bin>


More information about the lm-sensors mailing list