Forrest logo
back to the ethtool tool

ethtool:tldr:e3225

ethtool: Display the network usage statistics for an interface.
$ ethtool --statistics ${eth0}
try on your machine

The command "ethtool --statistics" is used to display network device statistics for a given Ethernet interface.

In this specific case, "${eth0}" is a placeholder that represents the name of the Ethernet interface for which you want to view the statistics. The actual interface name could be "eth0", "eth1", or any other interface name assigned to your system.

When you execute this command with the correct interface name, it will show various statistics related to that Ethernet interface. These statistics may include the number of transmitted and received packets, error counts, collisions, multicast packets, and more. The ethtool command provides a detailed report on the performance and activity of the network interface.

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 ethtool tool