$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);
转载于:https://www.cnblogs.com/usual2013blog/p/3785226.html
$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);
转载于:https://www.cnblogs.com/usual2013blog/p/3785226.html