Forrest logo
back to the tc tool

tc:tldr:0abd4

tc: Show active traffic control policies.
$ tc qdisc show dev ${eth0}
try on your machine

The command "tc qdisc show dev ${eth0}" is used to display the traffic control (tc) queueing disciplines of a specific network interface.

Here's a breakdown of each component:

  • "tc" is the command-line tool for configuring and monitoring traffic control parameters in Linux.
  • "qdisc" stands for "queueing discipline" and refers to the algorithms used to manage network traffic queues.
  • "show" is the action to display the current configuration or status of a specific qdisc.
  • "dev" specifies the network device or interface for which you want to view the qdiscs.
  • "${eth0}" is a placeholder representing the network interface name. "eth0" is a common interface name for the first Ethernet port on a Linux system. However, you may replace it with your desired network interface name based on your system configuration.

When you execute this command, it will show you the currently active qdiscs applied to the specified network interface. Qdiscs control the flow of packets, apply various algorithms for prioritization, bandwidth shaping, and other traffic management techniques.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the tc tool