summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: adb9c93)
raw | patch | inline | side by side (parent: adb9c93)
author | octo <octo> | |
Thu, 22 Dec 2005 21:46:15 +0000 (21:46 +0000) | ||
committer | octo <octo> | |
Thu, 22 Dec 2005 21:46:15 +0000 (21:46 +0000) |
src/collectd.c | patch | blob | history | |
src/cpu.c | patch | blob | history |
diff --git a/src/collectd.c b/src/collectd.c
index 0d9a7db872cf8b714383bff404eeb44e64f43f90..ad0b6fbd5bb71e214d84a8f137bd0dd418fa4565 100644 (file)
--- a/src/collectd.c
+++ b/src/collectd.c
#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 62e814578cb688d50bb5a857a34899f65bc520c2..28e6233808fa0d60e6c3954926cc38fb5a0a2800 100644 (file)
--- a/src/cpu.c
+++ b/src/cpu.c
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;