summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-09-25 15:38:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-09-25 15:38:57 +0000
commitb024446e6b21f121fcb1e162ad9fa893ca455b54 (patch)
tree98ef2fa9499fdddba7898ce3f7f34910e2feb403 /usr
parentf724d6b684196349b8e46aac2f4f2730d30e7b58 (diff)
downloadpfsense-b024446e6b21f121fcb1e162ad9fa893ca455b54.zip
pfsense-b024446e6b21f121fcb1e162ad9fa893ca455b54.tar.gz
Do not show mbuf clusters, show mbufs.
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/widgets/widgets/system_information.widget.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/widgets/widgets/system_information.widget.php b/usr/local/www/widgets/widgets/system_information.widget.php
index 175e5bc..6161b64 100644
--- a/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/usr/local/www/widgets/widgets/system_information.widget.php
@@ -99,8 +99,8 @@
<td width="25%" class="vncellt">MBUF Usage</td>
<td width="75%" class="listr">
<?php
- $mbufs_inuse=`netstat -mb | grep "mbuf clusters in use" | awk '{ print $1 }' | cut -d"/" -f1`;
- $mbufs_total=`netstat -mb | grep "mbuf clusters in use" | awk '{ print $1 }' | cut -d"/" -f4`;
+ $mbufs_inuse=`netstat -mb | grep "mbufs in use" | awk '{ print $1 }' | cut -d"/" -f1`;
+ $mbufs_total=`netstat -mb | grep "mbufs in use" | awk '{ print $1 }' | cut -d"/" -f3`;
?>
<?=$mbufs_inuse?>/<?=$mbufs_total?>
</td>
OpenPOWER on IntegriCloud