summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-08-20 01:02:08 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-08-20 01:02:08 +0000
commitedc670639a47cf7bf55b4e06b90384625509c5bc (patch)
tree015f34b8b879993f73c4b43641ac41d27a7758cf /usr
parent88207a6b031ae7095093b8bc2a3a1cbf2c9b9871 (diff)
downloadpfsense-edc670639a47cf7bf55b4e06b90384625509c5bc.zip
pfsense-edc670639a47cf7bf55b4e06b90384625509c5bc.tar.gz
Use maximum mbuf field
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/widgets/widgets/system_information.widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/system_information.widget.php b/usr/local/www/widgets/widgets/system_information.widget.php
index 7ce8f14..175e5bc 100644
--- a/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/usr/local/www/widgets/widgets/system_information.widget.php
@@ -100,7 +100,7 @@
<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"/" -f3`;
+ $mbufs_total=`netstat -mb | grep "mbuf clusters in use" | awk '{ print $1 }' | cut -d"/" -f4`;
?>
<?=$mbufs_inuse?>/<?=$mbufs_total?>
</td>
OpenPOWER on IntegriCloud