summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-09-25 15:38:51 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-09-25 15:38:51 +0000
commitf957780e6f48f5ccb6c654826680e48855199f3f (patch)
treea93bb80633621ebec3e76ba3ce03e8aa8ae77817
parent94304e4e9a5eeb20be77051d410a2951ae7bc5b0 (diff)
downloadpfsense-f957780e6f48f5ccb6c654826680e48855199f3f.zip
pfsense-f957780e6f48f5ccb6c654826680e48855199f3f.tar.gz
Do not show mbuf clusters, show mbufs.
-rwxr-xr-xusr/local/www/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index cab541e..0882957 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -183,8 +183,8 @@ include("fbegin.inc");
<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