You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
401 B

#!/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