linux查询当前进程数的命令

$command = "ps aux | grep  'zb_insure/get_order_info_from_queue.php' | grep -v 'grep' |  grep -v '/bin/sh'   | wc -l";
exec($command, $out_arr, $return_var);

posted @ 2014-06-13 09:44  唾手可得的树  阅读(1069)  评论(0)    收藏  举报