#!/usr/local/bin/php "") { mwexec("killall -9 pfctl php"); exit; } if (!is_array($config['shaper']['queue'])) { $config['shaper']['queue'] = array(); } $a_queues = &$config['shaper']['queue']; ?> <?=gentitle("Status: Traffic shaper: Queues");?>

Status: Traffic shaper: Queues

Queue Stats
 
"; echo ""; echo ""; echo " "; echo "
"; echo ""; echo ""; echo ""; echo "
"; ?>

Note:
Queue graphs take 5 seconds to sample data.


Reset queues if they do not load. 1) { mwexec("/usr/bin/killall -9 pfctl php"); exit; } $stat_line_split = split("\|", $stats_line); $packet_sampled = intval($stat_line_split[2]); $speed = $stat_line_split[1]; $borrows = intval($stat_line_split[3]); $suspends = intval($stat_line_split[4]); $drops = intval($stat_line_split[5]); echo "\n"; $i++; } /* * prevent user from running out of ram. * firefox and ie can be a bear on ram usage! */ $counter++; if($counter > 40) { echo "Redirecting to Queue Status.

"; echo ""; mwexec("/usr/bin/killall -9 pfctl"); exit; } } mwexec("/usr/bin/killall -9 pfctl php"); ?>