diff options
author | Simon Rettberg | 2019-04-20 11:31:39 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-04-20 11:31:39 +0200 |
commit | 85de662ae23f029371b340d7ba1e04dbcd10bcc7 (patch) | |
tree | 92337db070db7b1d435190071b59c69d7bbdd376 /modules-available/statistics/page.inc.php | |
parent | [serversetup-bwlp-ipxe] Use badge for refcount in bootentry table (diff) | |
download | slx-admin-85de662ae23f029371b340d7ba1e04dbcd10bcc7.tar.gz slx-admin-85de662ae23f029371b340d7ba1e04dbcd10bcc7.tar.xz slx-admin-85de662ae23f029371b340d7ba1e04dbcd10bcc7.zip |
[statistics] Show RAM manufacturer; add JEDEC DB & parser
Diffstat (limited to 'modules-available/statistics/page.inc.php')
-rw-r--r-- | modules-available/statistics/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/page.inc.php b/modules-available/statistics/page.inc.php index c5da85fe..505fdf9a 100644 --- a/modules-available/statistics/page.inc.php +++ b/modules-available/statistics/page.inc.php @@ -722,7 +722,7 @@ class Page_Statistics extends Page $row['lastseen_int'] = $row['lastseen']; $row['lastseen'] = Util::prettyTime($row['lastseen']); //$row['lastboot'] = Util::prettyTime($row['lastboot']); - $row['gbram'] = round(round($row['mbram'] / 500) / 2, 1); // Trial and error until we got "expected" rounding.. + $row['gbram'] = round(ceil($row['mbram'] / 512) / 2, 1); // Trial and error until we got "expected" rounding.. $row['gbtmp'] = round($row['id44mb'] / 1024); $octets = explode('.', $row['clientip']); if (count($octets) === 4) { |