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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
384 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
2017-04-27 13:08:17 +02:00
#
# 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
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
2015-08-07 01:19:51 +02:00
done