aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-08-29 22:57:56 +0800
committermat <mat@FreeBSD.org>2017-08-29 22:57:56 +0800
commit8d98b25c7c1569658375bd79e980b66dff70b21d (patch)
tree40d2d6cadb2cfc0437cc2c2c6f95bdf6c96c6169 /net-mgmt
parent6e2ab335a02d1777731c00ab9d856b621e50b193 (diff)
downloadfreebsd-ports-gnome-8d98b25c7c1569658375bd79e980b66dff70b21d.tar.gz
freebsd-ports-gnome-8d98b25c7c1569658375bd79e980b66dff70b21d.tar.zst
freebsd-ports-gnome-8d98b25c7c1569658375bd79e980b66dff70b21d.zip
And with the correct patch.
Pointy hat: The heat in Paris is killing me. Sponsored by: Absolight
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/monitoring-plugins/files/patch-configure8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-mgmt/monitoring-plugins/files/patch-configure b/net-mgmt/monitoring-plugins/files/patch-configure
index bd2fdca8ffe1..d9ef14e7f6d9 100644
--- a/net-mgmt/monitoring-plugins/files/patch-configure
+++ b/net-mgmt/monitoring-plugins/files/patch-configure
@@ -7,10 +7,10 @@
+elif ps -axwo 'stat comm vsz rss user uid pid ppid args jid' 2>/dev/null | \
+ egrep -i "^ *STAT +COMMAND +VSZ +RSS +USER +UID +PID +PPID +COMMAND +JID" > /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'"
-+ ac_cv_ps_format="%s %d %d %d %d %d %f %s %n"
-+ ac_cv_ps_cols=9
++ ac_cv_ps_varlist="procstat,&procuid,&procpid,&procppid,&procjid,&procvsz,&procrss,&procpcpu,procprog,&pos"
++ ac_cv_ps_command="$PATH_TO_PS -axwo 'stat uid pid ppid jid vsz rss pcpu comm args'"
++ ac_cv_ps_format="%s %d %d %d %d %d %d %f %s %n"
++ ac_cv_ps_cols=10
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ps_command" >&5
+$as_echo "$ac_cv_ps_command" >&6; }
+