会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
sure
博客园
首页
新随笔
联系
订阅
管理
2015年6月12日
shell和bat 监控进程,自动关机
摘要: 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 东京下雨,淋湿巴黎
阅读(565)
评论(0)
推荐(0)
编辑
公告