2015年1月26日
摘要: 利用命令pgrep可以看一个进程是否存在 例子: # /chapter13/ex13-9.sh #! /bin/bash #Apache httpd 进程监控shell #启动服务命令 RSSTART="/sbin/service httpd start" #pgrep 命令路径 PGREP="/u 阅读全文
posted @ 2015-01-26 21:11 龙种人 阅读(179) 评论(0) 推荐(0) 编辑