[PATCH] [qos-scripts] Reload IMQ only when needed
[openwrt.git] / package / qos-scripts / files / usr / bin / qos-stat
1 #!/bin/sh
2 echo '#################'
3 echo '# EGRESS STATUS #'
4 echo '#################'
5 echo
6 for iface in $(tc qdisc show | grep hfsc | awk '{print $5}' | grep -v imq); do
7 tc -s class show dev "$iface"
8 done
9
10 echo '##################'
11 echo '# INGRESS STATUS #'
12 echo '##################'
13 echo
14 for iface in $(tc qdisc show | grep hfsc | awk '{print $5}' | grep imq); do
15 tc -s class show dev "$iface"
16 done
This page took 0.055152 seconds and 5 git commands to generate.