diff options
author | Simon Rettberg | 2022-01-17 11:52:19 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-01-17 11:52:19 +0100 |
commit | e8f531cb3e47779a001ec1de6fcb5e60549a3379 (patch) | |
tree | 869f12ca1fc82e592d431a95fe1046f4728e69f8 | |
parent | [statistics] Make query builder a bit more OOP (diff) | |
download | slx-admin-e8f531cb3e47779a001ec1de6fcb5e60549a3379.tar.gz slx-admin-e8f531cb3e47779a001ec1de6fcb5e60549a3379.tar.xz slx-admin-e8f531cb3e47779a001ec1de6fcb5e60549a3379.zip |
[statistics] Add comments
-rw-r--r-- | modules-available/statistics/pages/hints.inc.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules-available/statistics/pages/hints.inc.php b/modules-available/statistics/pages/hints.inc.php index d2d8c982..67c42a18 100644 --- a/modules-available/statistics/pages/hints.inc.php +++ b/modules-available/statistics/pages/hints.inc.php @@ -19,6 +19,10 @@ class SubPage self::showUnusedSpace($locs); } + /** + * Machines that have less than 8GB of RAM. Highlight those + * that still have free memory slots. + */ private static function showMemoryUpgrade(array $locs) { $q = new HardwareQuery(HardwareInfo::MAINBOARD); @@ -48,6 +52,10 @@ class SubPage Render::addTemplate('hints-ram-upgrade', ['list' => $list]); } + /** + * Show machines where RAM modules are running slower + * than their design speed. + */ private static function showMemorySlow(array $locs) { $q = new HardwareQuery(HardwareInfo::RAM_MODULE); @@ -69,6 +77,10 @@ class SubPage Render::addTemplate('hints-ram-underclocked', ['list' => $list]); } + /** + * Show machines that have unpartitioned space available, + * and no ID44 or ID45. + */ private static function showUnusedSpace(array $locs) { $id44 = $id45 = []; |