diff options
author | Michele Di Maria <michele@nt2.it> | 2013-01-29 22:33:36 +0100 |
---|---|---|
committer | Michele Di Maria <michele@nt2.it> | 2013-01-29 22:33:36 +0100 |
commit | a3eab90857cade45d0d5b2c14c3c418fcfe93eb4 (patch) | |
tree | f8e3877d4898013dd647313c8598ae5397a3bcc3 /usr | |
parent | 21b94a54441c0a9e04b8e6452ebeb4a1e07cbaf0 (diff) | |
download | pfsense-a3eab90857cade45d0d5b2c14c3c418fcfe93eb4.zip pfsense-a3eab90857cade45d0d5b2c14c3c418fcfe93eb4.tar.gz |
Feature #2781: Hierarchical view of "Status-Queues" page
First version of the new "Status-Queue" page.
Requires the pfsense-tools/pfPorts/qstats/files/stats.c file to be
recompiled.
Second version, made after Ermal's notes.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_queues.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php index 8a08547..79ad4b5 100755 --- a/usr/local/www/status_queues.php +++ b/usr/local/www/status_queues.php @@ -58,7 +58,7 @@ class QueueStats { } if (!file_exists("{$g['varrun_path']}/qstats.pid") || !isvalidpid("{$g['varrun_path']}/qstats.pid")) { /* Start in the background so we don't hang up the GUI */ - mwexec_bg("/usr/local/sbin/qstats -p {$g['varrun_path']}/qstats.pid"); */ + mwexec_bg("/usr/local/sbin/qstats -p {$g['varrun_path']}/qstats.pid"); /* Give it a moment to start up */ sleep(1); } @@ -223,6 +223,7 @@ function statsQueues($xml){ $current->drops += $child->drops; } } + unset($child); $statistics[] = $current; return $current; } |