summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 606da92)
raw | patch | inline | side by side (parent: 606da92)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 7 Apr 2003 23:40:33 +0000 (23:40 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 7 Apr 2003 23:40:33 +0000 (23:40 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@476 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_procs.c | patch | blob | history |
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 2cf550cc365ab35ab959b9c523abc141e84d1035..3671559b1fcc03657ca5a844d70bb1b49747d403 100644 (file)
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
cols = sscanf (input_buffer, PS_FORMAT, PS_VARLIST);
/* Zombie processes do not give a procprog command */
- /* - would they give other columns? */
- if ( cols == 3 && strstr(procstat, zombie) ) {
- cols = 4;
+ if ( cols == 6 && strstr(procstat, zombie) ) {
+ cols = 7;
}
if ( cols >= 7 ) {
found++;