#/bin/bashbash
count=`ps -ef | grep miaomu3_3.py | grep -v grep | wc -l`ide
if [ ${count} == 1 ]; thenit
echo "服務進行中"class
elsegrep
echo "服務已中止"di
fiview