From: octo Date: Thu, 22 Dec 2005 21:46:15 +0000 (+0000) Subject: Since a second is not always 100 jiffies remove the upper bound of `100' for cpu... X-Git-Tag: collectd-3.6.0~17 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0cca7022376b411fa5a30628fda4957300018b7f;p=collectd.git Since a second is not always 100 jiffies remove the upper bound of `100' for cpu-*.rrd files. --- diff --git a/src/collectd.c b/src/collectd.c index 0d9a7db8..ad0b6fbd 100644 --- a/src/collectd.c +++ b/src/collectd.c @@ -469,7 +469,7 @@ int main (int argc, char **argv) #if COLLECT_DAEMON if (daemonize) - pidfile_remove(pidfile); + pidfile_remove (pidfile); #endif /* COLLECT_DAEMON */ return (0); diff --git a/src/cpu.c b/src/cpu.c index 62e81457..28e62338 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -71,11 +71,11 @@ static char *cpu_filename = "cpu-%s.rrd"; static char *ds_def[] = { - "DS:user:COUNTER:25:0:100", - "DS:nice:COUNTER:25:0:100", - "DS:syst:COUNTER:25:0:100", - "DS:idle:COUNTER:25:0:100", - "DS:wait:COUNTER:25:0:100", + "DS:user:COUNTER:25:0:U", + "DS:nice:COUNTER:25:0:U", + "DS:syst:COUNTER:25:0:U", + "DS:idle:COUNTER:25:0:U", + "DS:wait:COUNTER:25:0:U", NULL }; static int ds_num = 5;