check.sh 131 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 #! /bin/bash stat=$(ps -ef | grep 'Metric_Base.py' | grep -v grep | wc -l) if [ ${stat} -eq 1 ]; then exit 0 else exit 1 fi