摘要: #!/bin/sh echo "Current DIR is " $PWD while [ 1 ] do serverpid=`ps -ef|grep process1|grep -v grep|awk '{print $2}'` serverpid2=`ps -ef|grep process2|grep -v grep|awk '{print $2}'` if [ "$server... 阅读全文
posted @ 2017-10-12 09:33 Oops!# 阅读(662) 评论(0) 推荐(0) 编辑