summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_queues.php
diff options
context:
space:
mode:
authorMichele Di Maria <michele@nt2.it>2013-01-29 22:33:36 +0100
committerMichele Di Maria <michele@nt2.it>2013-01-29 22:33:36 +0100
commita3eab90857cade45d0d5b2c14c3c418fcfe93eb4 (patch)
treef8e3877d4898013dd647313c8598ae5397a3bcc3 /usr/local/www/status_queues.php
parent21b94a54441c0a9e04b8e6452ebeb4a1e07cbaf0 (diff)
downloadpfsense-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/local/www/status_queues.php')
-rwxr-xr-xusr/local/www/status_queues.php3
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;
}
OpenPOWER on IntegriCloud