Skip to content
Snippets Groups Projects
Commit 595f81f3 authored by hahn's avatar hahn
Browse files

show current processes as tree

parent 01e9302c
Branches
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ if (array_key_exists("ajax", $_GET)) {
$sProcesses = "<h2 class=\"warning\">please wait ...</h2>"
. shell_exec("uptime") . "<br><pre>"
. shell_exec("ps -f | egrep -v '/(apache|httpd)' | fgrep -v 'ps -f' | fgrep -v grep")
. shell_exec("ps -f --forest | egrep -v '/(apache|httpd)' | fgrep -v 'ps -f' | fgrep -v grep")
. "</pre>";
$sOut = file_exists($sTmpFile) ? file_get_contents($sTmpFile) : "waiting for " . $sTmpFile;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment