summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc/munin
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/jenkins/etc/munin')
-rwxr-xr-xhosts/jenkins/etc/munin/plugins/jenkins_builds_running2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/jenkins/etc/munin/plugins/jenkins_builds_running b/hosts/jenkins/etc/munin/plugins/jenkins_builds_running
index 24084f10..19e1752f 100755
--- a/hosts/jenkins/etc/munin/plugins/jenkins_builds_running
+++ b/hosts/jenkins/etc/munin/plugins/jenkins_builds_running
@@ -40,4 +40,4 @@ if [ "$1" = "config" ]; then
exit 0
fi
-echo "jenkins_builds_running.value $(ps fax|grep /tmp/hudson|grep -v grep|wc -l)"
+echo "jenkins_builds_running.value $(pgrep -fc /tmp/hudson)"