diff --git a/src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml b/src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
index b3a9fc51d..08dd158d2 100644
--- a/src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+++ b/src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
@@ -155,7 +155,6 @@
Queue Status<\/a><\/p>");
}
window.setTimeout('update_status_thread()', 2500);
}
diff --git a/src/www/status_queues.php b/src/www/status_queues.php
deleted file mode 100644
index 5eb775a1f..000000000
--- a/src/www/status_queues.php
+++ /dev/null
@@ -1,311 +0,0 @@
-pps)
- $bigger_stat = $q->pps;
- }
- }
- else
- {
- foreach($statistics as $q) {
- if ($bigger_stat < $q->bandwidth)
- $bigger_stat = $q->bandwidth;
- }
- }
- $finscript = "";
- foreach($statistics as $q) {
- if ($stat_type == "0")
- $packet_s = round(150 * (1 - $q->pps / $bigger_stat), 0);
- else
- $packet_s = round(150 * (1 - $q->bandwidth / $bigger_stat), 0);
- if ($packet_s < 0) {$packet_s = 0;}
- $finscript .= "jQuery('#queue{$q->queuename}widthb').width('{$packet_s}');";
- $finscript .= "jQuery('#queue{$q->queuename}widtha').width('" . (150 - $packet_s) . "');";
- $finscript .= "jQuery('#queue{$q->queuename}pps').val('" . number_format($q->pps,1) . "');";
- $finscript .= "jQuery('#queue{$q->queuename}bps').val('" . format_bits($q->bandwidth) . "');";
- $finscript .= "jQuery('#queue{$q->queuename}borrows').val('{$q->borrows}');";
- $finscript .= "jQuery('#queue{$q->queuename}suspends').val('{$q->suspends}');";
- $finscript .= "jQuery('#queue{$q->queuename}drops').val('{$q->drops}');";
- $finscript .= "jQuery('#queue{$q->queuename}length').val('{$q->queuelength}');";
- }
- unset($statistics, $altqstats);
- header("Content-type: text/javascript");
- echo $finscript;
- exit;
-}
-$pgtitle = array(gettext("Status"),gettext("Traffic shaper"),gettext("Queues"));
-$shortcut_section = "trafficshaper";
-include("head.inc");
-?>
-
-
-
-
- ";
- $prev_if = $q['interface'];
- }
- ?>
- Interface ". htmlspecialchars(convert_real_interface_to_friendly_descr($q['interface'])) . "
-
- queuename = $xml['name'] . $xml['interface'];
- $current->queuelength = $xml['qlength'];
- $current->pps = $xml['measured'];
- $current->bandwidth = $xml['measuredspeedint'];
- $current->borrows = intval($xml['borrows']);
- $current->suspends = intval($xml['suspends']);
- $current->drops = intval($xml['droppedpkts']);
- if (is_array($xml['queue'])) {
- foreach($xml['queue'] as $q) {
- $child = statsQueues($q);
- $current->pps += $child->pps;
- $current->bandwidth += $child->bandwidth;
- $current->borrows += $child->borrows;
- $current->suspends += $child->suspends;
- $current->drops += $child->drops;
- }
- }
- unset($child);
- $statistics[] = $current;
- return $current;
-}
-function format_bits($bits) {
- if ($bits >= 1000000000) {
- return sprintf("%.2f Gbps", $bits/1000000000);
- } else if ($bits >= 1000000) {
- return sprintf("%.2f Mbps", $bits/1000000);
- } else if ($bits >= 1000) {
- return sprintf("%.2f Kbps", $bits/1000);
- } else {
- return sprintf("%d bps", $bits);
- }
-}
-
-
- if (strstr($q['name'], "root_"))
- echo "Root queue";
- else
- echo "" . htmlspecialchars($q['name']) . "";
- ?>
-
-
- ";
- echo "";
- echo "
";
- echo "
";
- echo "
";
- if (is_array($q['queue'])) {
- echo "+/- ";
- }
- echo " ";
- echo "
";
- echo " ";
- echo " ";
- echo " ";
- echo " ";
- echo " ";
- ?>
-