1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 10:23:46 +01:00
nagios-plugins/check_proc/check_procs.sh

7 lines
140 B
Bash
Raw Normal View History

2011-11-21 11:04:06 +01:00
#!/bin/bash
LINE=`/usr/lib64/nagios/plugins/check_procs $*`
RC=$?
COUNT=`echo $LINE | awk '{print $3}'`
echo $LINE \| procs=$COUNT
exit $RC