summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 46450f0)
raw | patch | inline | side by side (parent: 46450f0)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 10 Jul 2006 18:51:57 +0000 (20:51 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 10 Jul 2006 18:51:57 +0000 (20:51 +0200) |
src/collectd.conf.in | patch | blob | history | |
src/processes.c | patch | blob | history |
diff --git a/src/collectd.conf.in b/src/collectd.conf.in
index 2306b9f7b77526d67daf93e5691fdc3df22b20a9..7f5c75ad459a76ce43f549fa3c6a05b3ce557aeb 100644 (file)
--- a/src/collectd.conf.in
+++ b/src/collectd.conf.in
# Host host.foo.bar
#</Plugin>
+#<Plugin processes>
+# Process name
+#</Plugin>
+
#<Plugin traffic>
# Interface eth0
# IgnoreSelected false
diff --git a/src/processes.c b/src/processes.c
index b5483c7fc808bc060b0329037265da7c77e02fe6..47bbcaa1882f8620ae880aa048983c67c1f8993c 100644 (file)
--- a/src/processes.c
+++ b/src/processes.c
static char *config_keys[] =
{
- "CollectName",
+ "Process",
NULL
};
static int config_keys_num = 1;
static int ps_config (char *key, char *value)
{
- if (strcasecmp (key, "CollectName") == 0)
+ if (strcasecmp (key, "Process") == 0)
{
ps_list_register (value);
}