The method of checking the rate of Network Card by linux
This article shows you how to check the speed of the network card by linux. The code is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
We all know that ifconfig-a can list all network cards, but how to tell whether it is a gigabit card or a 100-megabit card?
1. Judge whether it is a gigabit network card or a 100 megabit network card.
Ethtool ethx View supported rate
The actual speed of the network card can be seen as Speed 100Mb Speed. The question is: must the gigabit network card Speed be 1000m?
Not necessarily. The speed of the network card is related to the network cable and the rate of the switch port. You can see the Auto-negotiation field. On means to enable it.
Automatic negotiation, after plugging in the network cable, both sides will automatically negotiate a supported rate.
The above is the way for linux to check the speed of the network card. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.