mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-10 04:23:44 +01:00
7 lines
140 B
Bash
7 lines
140 B
Bash
|
#!/bin/bash
|
||
|
LINE=`/usr/lib64/nagios/plugins/check_procs $*`
|
||
|
RC=$?
|
||
|
COUNT=`echo $LINE | awk '{print $3}'`
|
||
|
echo $LINE \| procs=$COUNT
|
||
|
exit $RC
|