display system hostname and some memory info on dashboard

hostname may be useful in situations where several froxlors are
reverse-proxied on a single webserver
This commit is contained in:
Daniel Reichelt
2016-09-16 09:15:35 +02:00
parent e9d438f8cf
commit 56c8e90700
4 changed files with 25 additions and 0 deletions

View File

@@ -211,6 +211,10 @@ $header
</tr>
</thead>
<tbody>
<tr>
<td>{$lng['admin']['hostname']}:</td>
<td>{$system_hostname}</td>
</tr>
<tr>
<td>{$lng['admin']['serversoftware']}:</td>
<td>{$_SERVER['SERVER_SOFTWARE']}</td>
@@ -227,6 +231,10 @@ $header
<td>{$lng['admin']['webserverinterface']}:</td>
<td>$webserverinterface</td>
</tr>
<tr>
<td>{$lng['admin']['memory']}:</td>
<td><pre>$memory</pre></td>
</tr>
<tr>
<td>{$lng['admin']['sysload']}:</td>
<td>$load</td>