$sh = 'ps aux|grep -v grep|grep "/data/wwwroot/project/public/work.php"'; $output = shell_exec($sh); if(!$output){ $title = 'qmzg workman shutdown'; $content = '进程挂了:/data/wwwroot/project/public/work.php'; }else{ echo '正常'; }
posted on 2019-01-09 16:45 薇薇123456 阅读(55) 评论(0) 编辑 收藏 举报