mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
add qos-scripts package port for buildroot-ng
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4935 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
16
package/qos-scripts/files/usr/bin/qos-stat
Executable file
16
package/qos-scripts/files/usr/bin/qos-stat
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user