1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

simlified traffic control dumper

git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@123 8ec27952-4edc-4aab-86aa-e87bb2611832
This commit is contained in:
Steffen Vogel 2014-07-04 09:44:08 +00:00
parent 42c3e2faf8
commit a455c74188

View file

@ -1,9 +1,8 @@
#!/bin/bash
for if in lo eth1; do
for p in qdisc filter class; do
echo "======= $if: $p ========"
tc -s $p show dev $if
done
echo
IF=$1
for cmd in qdisc filter class; do
echo "======= $if: $p ========"
tc -s $cmd show dev $IF
done