linux 如何查询网卡带宽

如题所述

Linux系统下可以通过下面命令核查网卡带宽:

[root@www ]#ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:  10baseT/Half 10baseT/Full
                               100baseT/Half 100baseT/Full
                               1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes: 10baseT/Half 10baseT/Full
                               100baseT/Half 100baseT/Full
                               1000baseT/Full
        Advertised auto-negotiation: Yes
        //其它的信息不用管它,下面Speed这一行就是网卡目前的带宽
        Speed:1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbag
        Wake-on: g
        Current message level: 0x00000001(1)
        Link detected: yes
温馨提示:答案为网友推荐,仅供参考
第1个回答  2013-12-17
 ethtool eth0

如果你的网卡名是eth0

Speed:那一行。

相似回答