I m running a command in my linux server (Ubuntu). For example:
screen -A -h 1500 -m -dmS test_command_one /home/SKY-users/SKY-001/./script
这一背景进展由以下几个方面加以筛选:test_command_one<<>code>?
p. aux ́eprite test_command_one:
root 6573 8.1 2.4 271688 123804 pts/4 Ss+ Oct19 3:04 /home/SKY-users/SKY-001/./ ...
我愿回过来。
PHP: (asy)
<?php
$output = shell_exec( sudo ps aux | grep test_command_one );
$array = explode("
", $output);
echo <pre> .print_r($array, true). </pre> ;
?>
帮助!