author | Doug MacEachern <dougm@hyperic.com> | |
Fri, 2 Jan 2009 21:52:35 +0000 (13:52 -0800) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 17 Jan 2009 09:46:56 +0000 (10:46 +0100) | ||
commit | 1b5a65328d230599511a5459109019f6f3bb39a0 | |
tree | b7994937fb956f54775f0917c37d033eb64d1ff2 | tree | snapshot |
parent | 3facef0f990e1b815daa2520b6b8c1d259a03d28 | commit | diff |
collectd: Add the -T option.
The -T switch:
- implies -f
- does not start any read threads
- invokes callback() foreach list_read and will exit 1 on failure, 0
otherwise
Makes for a nicer dryrun than -f + ^C, also makes it possible to wrap
with a test harness such as Test.pm
Signed-off-by: Doug MacEachern <dougm@hyperic.com>
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
The -T switch:
- implies -f
- does not start any read threads
- invokes callback() foreach list_read and will exit 1 on failure, 0
otherwise
Makes for a nicer dryrun than -f + ^C, also makes it possible to wrap
with a test harness such as Test.pm
Signed-off-by: Doug MacEachern <dougm@hyperic.com>
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
src/collectd.c | diff | blob | history | |
src/collectd.pod | diff | blob | history | |
src/plugin.c | diff | blob | history | |
src/plugin.h | diff | blob | history |