From 2895fc4ae30ed7b4640b8b8a2d426582f39c0e45 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 4 Jun 2003 23:09:29 +0000 Subject: Display ps command used git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/release-1.3.0@536 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/configure.in b/configure.in index aa026fa..ea01c0e 100644 --- a/configure.in +++ b/configure.in @@ -430,6 +430,7 @@ then AC_DEFINE_UNQUOTED(VSZ_FORMAT,"%d %s",[Format string for scanning ps output in check_vsz]) AC_DEFINE_UNQUOTED(RSS_COMMAND,"$PATH_TO_PS -axwo 'rss comm'",[Verbatim command to execute for ps in check_rss]) AC_DEFINE_UNQUOTED(RSS_FORMAT,"%d %s",[Format string for scanning ps output in check_rss]) + echo " ps syntax... $PATH_TO_PS -axwo 'stat uid ppid comm args'" dnl STAT UCOMM VSZ RSS USER UID PPID COMMAND elif ps -weo 'stat comm vsz rss user uid ppid args' 2>/dev/null | egrep -i ["^ *S[TAUES]* +[UCOMDNA]+ +[VSIZE]+ +R[S]+ +U[SER]+ +U[ID]+ +P[PID]+ +[RGSCOMDNA]+"] >/dev/null then -- cgit v0.10-9-g596f