[Nagiosplug-checkins] CVS: nagiosplug configure.in,1.47.2.4,1.47.2.5
Ton Voon
tonvoon at users.sourceforge.net
Wed Jun 4 16:10:07 CEST 2003
Update of /cvsroot/nagiosplug/nagiosplug
In directory sc8-pr-cvs1:/tmp/cvs-serv23734
Modified Files:
Tag: r1_3_0
configure.in
Log Message:
Display ps command used
Index: configure.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/configure.in,v
retrieving revision 1.47.2.4
retrieving revision 1.47.2.5
diff -C2 -r1.47.2.4 -r1.47.2.5
*** configure.in 4 Jun 2003 22:56:25 -0000 1.47.2.4
--- configure.in 4 Jun 2003 23:09:29 -0000 1.47.2.5
***************
*** 431,434 ****
--- 431,435 ----
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
More information about the Commits
mailing list