From a24de748befed1c37d4247c59db425dbfeb7aa99 Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Wed, 10 Aug 2022 14:38:06 +0200
Subject: [PATCH] remove "php-fpm" in processlist

---
 public_html/webservice/getfile.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public_html/webservice/getfile.php b/public_html/webservice/getfile.php
index 5c57e935..ef97279d 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)' | 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;
-- 
GitLab