mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-22 15:03:41 +03:00
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4935 3c298f89-4303-0410-b956-a3cf2f4a3e73
17 lines
401 B
Bash
Executable File
17 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
|