Update systeminfo.php
Added new function "system_process_count" to see the number of processes executed in the system
This commit is contained in:
@@ -50,6 +50,7 @@ $system_namesystem = shell_exec("uname -o");
|
|||||||
$system_full = shell_exec("uname -a");
|
$system_full = shell_exec("uname -a");
|
||||||
$system_architecture = shell_exec("uname -m");
|
$system_architecture = shell_exec("uname -m");
|
||||||
$load_average = sys_getloadavg();
|
$load_average = sys_getloadavg();
|
||||||
|
$system_process_count = shell_exec("ps -e --no-headers | wc -l"); // Count processes
|
||||||
//Motherboard stats
|
//Motherboard stats
|
||||||
$motherboard_name = shell_exec('cat /sys/class/dmi/id/board_name'); // Get the Motherboard name
|
$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
|
$motherboard_manufactured = shell_exec('cat /sys/class/dmi/id/board_vendor'); // Get the Motherboard manufactured
|
||||||
|
|||||||
Reference in New Issue
Block a user