diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-08-28 21:02:12 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-08-28 21:02:12 +0000 |
commit | 0ed008394437684acd5821db372574fec9391d53 (patch) | |
tree | 41a64048a08324005d2f14659508c78c13ab7c9d /usr/local/www/status_interfaces.php | |
parent | bd58d23037f3fc8f10d7ab915099e4253bda458d (diff) | |
download | pfsense-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-x | usr/local/www/status_interfaces.php | 3 |
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> |