Update systeminfo.php

Added new function "system_process_count" to see the number of processes executed in the system
This commit is contained in:
Carlos V
2023-09-06 16:20:13 +02:00
committed by GitHub
parent 8f15579136
commit 7581e4f63a

View File

@@ -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