From 7581e4f63a071335d76e0a4152cb2d4eb46a8d82 Mon Sep 17 00:00:00 2001 From: Carlos V <76731844+cvc90@users.noreply.github.com> Date: Wed, 6 Sep 2023 16:20:13 +0200 Subject: [PATCH] Update systeminfo.php Added new function "system_process_count" to see the number of processes executed in the system --- front/systeminfo.php | 1 + 1 file changed, 1 insertion(+) diff --git a/front/systeminfo.php b/front/systeminfo.php index 35ccb377..e153f6af 100755 --- a/front/systeminfo.php +++ b/front/systeminfo.php @@ -50,6 +50,7 @@ $system_namesystem = shell_exec("uname -o"); $system_full = shell_exec("uname -a"); $system_architecture = shell_exec("uname -m"); $load_average = sys_getloadavg(); +$system_process_count = shell_exec("ps -e --no-headers | wc -l"); // Count processes //Motherboard stats $motherboard_name = shell_exec('cat /sys/class/dmi/id/board_name'); // Get the Motherboard name $motherboard_manufactured = shell_exec('cat /sys/class/dmi/id/board_vendor'); // Get the Motherboard manufactured