diff --git a/scripts/pi-hole/php/header.php b/scripts/pi-hole/php/header.php index c941ddac..366a8d03 100644 --- a/scripts/pi-hole/php/header.php +++ b/scripts/pi-hole/php/header.php @@ -65,6 +65,9 @@ // Get load $loaddata = sys_getloadavg(); + foreach ($loaddata as $key => $value) { + $loaddata[$key] = round($value, 2); + } // Get number of processing units available to PHP // (may be less than the number of online processors) $nproc = shell_exec('nproc');