摘要:
1.linux 下监控进程,进程结束后关机新建文件 monit.sh$chmod +x monit.sh加入代码#!/bin/sha=10;while [ $a -gt 5 ]; doif test $(pgrep -f $1|wc -l) -eq 2;thenecho "shutdown afte... 阅读全文
posted @ 2015-06-12 21:40
东京下雨,淋湿巴黎
阅读(599)
评论(0)
推荐(0)
浙公网安备 33010602011771号