$cmd = "ps axu| egrep '(think testB)'|grep -v 'grep'|wc -l";
$ret = shell_exec("$cmd");
echo $ret;
$ret = rtrim(<
计划任务定时检测进程是否存在,不存在则启动
最新推荐文章于 2023-04-16 02:34:45 发布
$cmd = "ps axu| egrep '(think testB)'|grep -v 'grep'|wc -l";
$ret = shell_exec("$cmd");
echo $ret;
$ret = rtrim(<
>