How to check network card speed in Linux?

In Linux, you can use  ethtoolthe command to view the speed of the network card. Here's a user-friendly step-by-step guide:

  1. Open a terminal and execute the following command as root user:

    ethtool <网卡名称>

    Replace  <网卡名称>with the name of the network card you want to check the speed of, such as eth0 or enp0s3.

  2. After executing the above command, ethtooldetailed information about the network card is displayed, including the speed.

    Note: If it is not installed in the system  ethtool, you need to install it first. It can be installed using the package manager appropriate for your Linux distribution, e.g. apt-get on Ubuntu:

    sudo apt-get install ethtool

Through the above steps, you can use  ethtoolthe command to easily view the speed of the network card in Linux. This will give you details about the connection speed of your network card.

Guess you like

Origin blog.csdn.net/tiansyun/article/details/132126882