From 6c38a4b795141f1e12dd2c56d90b2ae1af756a4c Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 10 Jul 2006 20:51:57 +0200 Subject: [PATCH] processes plugin: Renamed the selection option to `Process'. --- src/collectd.conf.in | 4 ++++ src/processes.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 2306b9f7..7f5c75ad 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -72,6 +72,10 @@ # Host host.foo.bar # +# +# Process name +# + # # Interface eth0 # IgnoreSelected false diff --git a/src/processes.c b/src/processes.c index b5483c7f..47bbcaa1 100644 --- a/src/processes.c +++ b/src/processes.c @@ -143,7 +143,7 @@ static int ps_pagefaults_ds_num = 2; static char *config_keys[] = { - "CollectName", + "Process", NULL }; static int config_keys_num = 1; @@ -402,7 +402,7 @@ static void ps_list_reset (void) static int ps_config (char *key, char *value) { - if (strcasecmp (key, "CollectName") == 0) + if (strcasecmp (key, "Process") == 0) { ps_list_register (value); } -- 2.11.0