diff --git a/header.php b/header.php index d719ea3b..a82b67bb 100644 --- a/header.php +++ b/header.php @@ -14,6 +14,9 @@ // Get load $loaddata = sys_getloadavg(); + // Get number of processing units available to PHP + // (may be less than the number of online processors) + $nproc = shell_exec('nproc'); // Get memory usage $free = shell_exec('free'); @@ -171,7 +174,7 @@