Permalink
Browse files

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.
  • Loading branch information...
1 parent 21b94a5 commit a3eab90857cade45d0d5b2c14c3c418fcfe93eb4 @mdima committed Jan 29, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 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;
}

0 comments on commit a3eab90

Please sign in to comment.