diff options
author | Cristian Feldman <vizvayu@gmail.com> | 2012-05-24 18:52:27 -0300 |
---|---|---|
committer | Cristian Feldman <vizvayu@gmail.com> | 2012-05-24 18:52:27 -0300 |
commit | 25a46a3cb249ea3eeb8319e5ab161dfd3c5160ae (patch) | |
tree | 801cb32787cc42a797a8b69089b0504dd4694a2d /usr/local/www/widgets | |
parent | a55be495a200e5ae5ebc08e5bb8156f6ac6b502a (diff) | |
download | pfsense-25a46a3cb249ea3eeb8319e5ab161dfd3c5160ae.zip pfsense-25a46a3cb249ea3eeb8319e5ab161dfd3c5160ae.tar.gz |
Added load average information to the System Information widget
Diffstat (limited to 'usr/local/www/widgets')
-rw-r--r-- | usr/local/www/widgets/widgets/system_information.widget.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/widgets/widgets/system_information.widget.php b/usr/local/www/widgets/widgets/system_information.widget.php index 776679a..f057866 100644 --- a/usr/local/www/widgets/widgets/system_information.widget.php +++ b/usr/local/www/widgets/widgets/system_information.widget.php @@ -202,6 +202,12 @@ $curcfg = $config['system']['firmware']; </tr> <?php endif; ?> <tr> + <td width="25%" class="vncellt">Load average</td> + <td width="75%" class="listr"> + <div id="load_average" title="Last 1, 5 and 15 minutes"><?= get_load_average(); ?></div> + </td> + </tr> + <tr> <td width="25%" class="vncellt">CPU usage</td> <td width="75%" class="listr"> <?php $cpuUsage = "0"; ?> |