Я попробовал это: < /p>
Код: Выделить всё
`
$checkProcessStatus = "ps aux | grep
";
$status = shell_exec($checkProcessStatus);
dd($status);
`
< /code>
Я получил этот результат: < /p>
`
user 17072 0.0 0.2 166216 33332 pts/3 S+ 11:31 0:00 artis
user 20397 0.0 0.0 14232 868 pts/3 S+ 11:52 0:00 grep
`
Подробнее здесь: https://stackoverflow.com/questions/662 ... shell-exec
Мобильная версия