[collectd] [PATCH] Do not complain of a disappeared task's proc dir

Lubos Stanek kolektor<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>atlas.cz
Mon Dec 11 16:03:00 CET 2006


Signed-off-by: Stanek Lubos <kolektor<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>atlas.cz>
---
 src/processes.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/processes.c b/src/processes.c
index ebf1381..c8f3016 100644
--- a/src/processes.c
+++ b/src/processes.c
@@ -600,8 +600,7 @@ static int *ps_read_tasks (int pid)
 
 	if ((dh = opendir (dirname)) == NULL)
 	{
-		syslog (LOG_NOTICE, "processes plugin: Failed to open directory `%s'",
-				dirname);
+		DBG ("Failed to open directory `%s'", dirname);
 		return (NULL);
 	}
 
-- 
1.4.2.4




More information about the collectd mailing list