停止脚本: #!/bin/bash ps -fe|grep Balancer|grep -v grep if [ $? -ne 0 ] then echo "process is stoped....." else