zzx@zzx120:~$
if ps aux | grep "python"|grep -v grep > /dev/null #$?的值不同
then echo "Running"
else echo "Stopped"
fi