diff --git a/public_html/webservice/getfile.php b/public_html/webservice/getfile.php index ef97279d1f498ea3e651236a1e50afa5ba714d54..fb56ba27c3eabd79856f19fd77a781e1072af0c8 100644 --- a/public_html/webservice/getfile.php +++ b/public_html/webservice/getfile.php @@ -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 --forest | egrep -v '/(apache|httpd|php\-fpm)' | fgrep -v 'ps -f' | fgrep -v grep") + . shell_exec("ps -f --forest | egrep -v '(/apache|/httpd|php-fpm)' | fgrep -v 'ps -f' | fgrep -v grep") . "</pre>"; $sOut = file_exists($sTmpFile) ? file_get_contents($sTmpFile) : "waiting for " . $sTmpFile;