Files
monurbox/monurbox-master/plugins/check_proc
2019-01-31 01:18:23 +00:00

11 lines
101 B
Bash
Executable File

#!/bin/bash
export proc=$1
pgrep $proc > /dev/null
if [ $? -ne "0" ]
then
exit 1
else
exit 0
fi