aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/haproxy/haproxy_global.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/haproxy/haproxy_global.php b/config/haproxy/haproxy_global.php
index 0d60684b..d77595de 100755
--- a/config/haproxy/haproxy_global.php
+++ b/config/haproxy/haproxy_global.php
@@ -142,7 +142,11 @@ function enable_change(enable_change) {
</table>
Sets the maximum per-process number of concurrent connections to X.<br/>
<strong>NOTE:</strong> setting this value too high will result in haproxy not being able to allocate enough memory.<br/>
- </td><td>
+<?php
+ $hapcpu = `top | grep haproxy | awk '{ print $6 }'`;
+ if($hapcpu)
+ echo "<p>Current memory usage {$hascpu}.</p>";
+?> </td><td>
<table style="border: 1px solid #000;">
<tr>
<td><font size=-1>Connections</td>