摘要: 用shell脚本监控进程是否存在 不存在则启动的实例,先上代码干货: #!/bin/sh ps -fe|grep processString |grep -v grep if [ $? -ne 0 ] then echo "start process..... 阅读全文
posted @ 2017-06-05 20:09 六七十三 阅读(71) 评论(0) 推荐(0) 编辑
摘要: linux下的shell命令: ps -ef |grep java|grep “ ” " "l里面写上你需要grep查找的java程序名字应该就可以了 转自:http://www.jb51.net/article/83197.htm ... 阅读全文
posted @ 2017-06-05 16:45 六七十三 阅读(499) 评论(0) 推荐(0) 编辑