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

And various other cleanups and harmonizations Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
14 lines
370 B
Bash
Executable file
14 lines
370 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Dump Linux traffic control state to screen.
|
|
#
|
|
# Author: Steffen Vogel <post@steffenvogel.de>
|
|
# SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
IF=$1
|
|
|
|
for cmd in qdisc filter class; do
|
|
echo "======= $IF: $cmd ========"
|
|
tc -s -d -p $cmd show dev $IF
|
|
done
|