1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-14 22:43:46 +01:00
nagios-plugins/check_proc/check_procs.sh
2011-11-21 10:04:06 +00:00

7 lines
140 B
Bash
Executable File

#!/bin/bash
LINE=`/usr/lib64/nagios/plugins/check_procs $*`
RC=$?
COUNT=`echo $LINE | awk '{print $3}'`
echo $LINE \| procs=$COUNT
exit $RC