
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4935 3c298f89-4303-0410-b956-a3cf2f4a3e73
16 lines
401 B
Bash
Executable file
16 lines
401 B
Bash
Executable file
#!/bin/sh
|
|
echo '#################'
|
|
echo '# EGRESS STATUS #'
|
|
echo '#################'
|
|
echo
|
|
for iface in $(tc qdisc show | grep hfsc | awk '{print $5}' | grep -v imq); do
|
|
tc -s class show dev "$iface"
|
|
done
|
|
|
|
echo '##################'
|
|
echo '# INGRESS STATUS #'
|
|
echo '##################'
|
|
echo
|
|
for iface in $(tc qdisc show | grep hfsc | awk '{print $5}' | grep imq); do
|
|
tc -s class show dev "$iface"
|
|
done
|