summaryrefslogtreecommitdiff
path: root/net-mgmt/monitoring-plugins/files/patch-configure
blob: 306b52efc7b9333cc99cc28056982dc5ce75990c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- configure.orig	2016-11-29 08:48:11 UTC
+++ configure
@@ -16748,7 +16748,7 @@ then
 $as_echo "$ac_cv_ps_command" >&6; }
 
 elif ps -axwo 'stat comm vsz rss user uid pid ppid args' 2>/dev/null | \
-	egrep -i "^ *STAT +[UCOMAND]+ +VSZ +RSS +USER +UID +PID +PPID +COMMAND" > /dev/null
+	egrep -i "^ *STAT +COMMAND +VSZ +RSS +USER +UID +PID +PPID +COMMAND" > /dev/null
 then
 	ac_cv_ps_varlist="procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos"
 	ac_cv_ps_command="$PATH_TO_PS -axwo 'stat uid pid ppid vsz rss pcpu comm args'"