Skip to content

Commit d5214d1

Browse files
author
Till Brehm
committed
Merge branch '3651-mem' into 'stable-3.1'
Show memory usage in MB's (#3651) Closes #3651 See merge request ispconfig/ispconfig3!1094
2 parents c08d872 + 1decafc commit d5214d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

interface/lib/classes/tools_monitor.inc.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,10 @@ function showMemUsage () {
184184

185185
foreach($data as $key => $value) {
186186
if ($key != '') {
187+
$memory = $app->functions->formatBytes($value);
187188
$html .= '<tr>
188189
<td>' . $key . ':</td>
189-
<td>' . $value . '</td>
190+
<td>' . $memory . '</td>
190191
</tr>';
191192
}
192193
}

0 commit comments

Comments
 (0)