摘要: 用shell脚本监控进程是否存在 不存在则启动的实例,先上代码干货: 1 2 3 4 5 6 7 8 #!/bin/sh ps -fe|grep processString |grep -v grep if [ $? -ne 0 ] then echo "start process....." el 阅读全文
posted @ 2017-08-31 10:31 anitinaj 阅读(22072) 评论(4) 推荐(1) 编辑