linux/centos如何查看网卡是100M还是1000M

如题所述

[root@hvrhub ~]# ethtool eth0  
Settings for eth0:  
        Supported ports: [ TP MII ]  
        Supported link modes:   10baseT/Half 10baseT/Full   
                                100baseT/Half 100baseT/Full   
        Supports auto-negotiation: Yes  
        Advertised link modes:  10baseT/Half 10baseT/Full   
                                100baseT/Half 100baseT/Full   
        Advertised auto-negotiation: Yes  
        Speed: 100Mb/s  ----------->网卡速度  
        Duplex: Full  
        Port: MII  
        PHYAD: 0  
        Transceiver: internal  
        Auto-negotiation: on  
        Supports Wake-on: pumbg  
        Wake-on: g  
        Current message level: 0x00000033 (51)  
        Link detected: yes

温馨提示:答案为网友推荐,仅供参考
相似回答
大家正在搜