diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-05-13 01:32:11 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-13 01:32:11 +0000 |
| commit | 983dc66684999e03685a496f17ca75f81cd21ffe (patch) | |
| tree | e53288f5d75544fe6da30393791fb10007bcb816 /core/views | |
| parent | 238cb7ff6e7469ce6fc479766f4199e39fc8193f (diff) | |
Display the server load average in the platform block. Fixes ticket #198.
Diffstat (limited to 'core/views')
| -rw-r--r-- | core/views/admin_block_platform.html.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/views/admin_block_platform.html.php b/core/views/admin_block_platform.html.php index 1a43c715..6b79f047 100644 --- a/core/views/admin_block_platform.html.php +++ b/core/views/admin_block_platform.html.php @@ -12,4 +12,7 @@ <li> <?= t("MySQL: %mysql_version", array("mysql_version" => Database::instance()->query("SELECT version() as v")->current()->v)) ?> </li> + <li> + <?= t("Server load: %load_average", array("load_average" => $load_average)) ?> + </li> </ul> |
