Linux下面查看網卡的信息


 查看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 ~]# 

這樣就查到了 到底查到什么網卡上面. 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM