From: aurel32@debian.org (Aurelien Jarno) Date: Thu, 19 May 2005 06:24:55 +0000 Subject: sensord: rrd database and timeslots Message-Id: <20040501105746.GA6332@pc.aurel32.lan> List-Id: References: <20040421222823.GA14256@pc.aurel32.private> In-Reply-To: <20040421222823.GA14256@pc.aurel32.private> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org It seems that the points of view on this problem are very different. Some of us say that the values should be averaged, some other says they should not. That's why I propose a new patch that let the user choice if the values are average or not. Please also not that with this patch the timeslots are not faked anymore. Please give me your comments! Bye, Aurelien -- .''`. Aurelien Jarno GPG: 1024D/F1BCDB73 : :' : Debian GNU/Linux developer | Electrical Engineering Student `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net -------------- next part -------------- diff -urN lm_sensors2.orig/prog/sensord/args.c lm_sensors2/prog/sensord/args.c --- lm_sensors2.orig/prog/sensord/args.c 2002-07-31 16:20:29.000000000 +0200 +++ lm_sensors2/prog/sensord/args.c 2004-05-01 12:44:10.000000000 +0200 @@ -39,6 +39,7 @@ int scanTime = 60; int logTime = 30 * 60; int rrdTime = 5 * 60; +int rrdNoAverage = 0; int syslogFacility = LOG_LOCAL4; int doScan = 0; int doSet = 0; @@ -98,6 +99,7 @@ " -i, --interval