summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_interfaces.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-08-28 21:02:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-08-28 21:02:12 +0000
commit0ed008394437684acd5821db372574fec9391d53 (patch)
tree41a64048a08324005d2f14659508c78c13ab7c9d /usr/local/www/status_interfaces.php
parentbd58d23037f3fc8f10d7ab915099e4253bda458d (diff)
downloadpfsense-0ed008394437684acd5821db372574fec9391d53.zip
pfsense-0ed008394437684acd5821db372574fec9391d53.tar.gz
Turn off interrupts/second until we can upgrade the parsing code to use
a regex and stop showing bogus information such as: Interrupts/Second: hifn0 total 41258 rate
Diffstat (limited to 'usr/local/www/status_interfaces.php')
-rwxr-xr-xusr/local/www/status_interfaces.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php
index d62d696..3db0e3f 100755
--- a/usr/local/www/status_interfaces.php
+++ b/usr/local/www/status_interfaces.php
@@ -231,7 +231,8 @@ include("head.inc");
if(strstr($interrupt_total, "hci")) {
$interrupt_total = `vmstat -i | grep $real_interface | awk '{ print $4 }'`;
$interrupt_sec = `vmstat -i | grep $real_interface | awk '{ print $5 }'`;
- }
+ }
+ unset($interrupt_total); // XXX: FIX ME! Need a regex and parse correct data 100% of the time.
?>
<?php if($interrupt_total): ?>
<tr>
OpenPOWER on IntegriCloud