查看linux下面網卡的速度信息
Study From 百度知道 (懶得翻牆)
1. centos機器 安裝的比較全(個人比較懶 沒有使用core最小化安裝, 避免出問題麻煩 公司網絡太垃圾)
使用
ifconfig
查看網卡的名字

2. 使用
ethtool 查看網卡的信息
[root@CentOS76 ~]# ethtool ens192 Settings for ens192: Supported ports: [ TP ] Supported link modes: 1000baseT/Full 10000baseT/Full Supported pause frame use: No Supports auto-negotiation: No Supported FEC modes: Not reported Advertised link modes: Not reported Advertised pause frame use: No Advertised auto-negotiation: No Advertised FEC modes: Not reported Speed: 10000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: off MDI-X: Unknown Supports Wake-on: uag Wake-on: d Link detected: yes [root@CentOS76 ~]#
這樣就查到了 到底查到什么網卡上面.
