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

16 lines
409 B
Bash
Raw Permalink Normal View History

2015-08-07 01:19:51 +02:00
#!/bin/bash
2017-04-27 13:08:17 +02:00
#
# Dump Linux traffic control state to screen.
#
# @author Steffen Vogel <post@steffenvogel.de>
2022-03-15 09:28:57 -04:00
# @copyright 2014-2022, Institute for Automation of Complex Power Systems, EONERC
2022-07-04 18:20:03 +02:00
# @license Apache 2.0
2017-04-27 13:08:17 +02:00
##################################################################################
2015-08-07 01:19:51 +02:00
IF=$1
for cmd in qdisc filter class; do
echo "======= $IF: $cmd ========"
tc -s -d -p $cmd show dev $IF
done