diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-10 18:04:47 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-10 18:04:47 +0000 |
commit | aa8f994799fe474966cb4a121d905079cc6bb113 (patch) | |
tree | c45fa1c4877543d0d63ed986334e00a69f3be2ae | |
parent | 5f7bb7970b8a37c069d5ab7238f8a6f4962fca5a (diff) | |
download | pfsense-aa8f994799fe474966cb4a121d905079cc6bb113.zip pfsense-aa8f994799fe474966cb4a121d905079cc6bb113.tar.gz |
If we cannot deterimine interrupts a second for an interface, do not recycle last known values.
-rwxr-xr-x | usr/local/www/status_interfaces.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php index 48b4198..ec2e148 100755 --- a/usr/local/www/status_interfaces.php +++ b/usr/local/www/status_interfaces.php @@ -407,6 +407,9 @@ include("head.inc"); <?php if(file_exists("/usr/bin/vmstat")): ?> <?php + $real_interface = ""; + $interrupt_total = ""; + $interrupt_sec = ""; $real_interface = convert_friendly_interface_to_real_interface_name($ifname); $interrupt_total = `vmstat -i | grep $real_interface | awk '{ print $3 }'`; $interrupt_sec = `vmstat -i | grep $real_interface | awk '{ print $4 }'`; |