Openwrt/openwrt/package/qos-scripts/files/usr/bin/qos-stat
Felix Fietkau e425823350 add qos-scripts package port for buildroot-ng
SVN-Revision: 4935
2006-10-06 17:38:48 +00:00

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