Linux 查询带宽命令ethtool eth0 输入可以查询网络带宽,比如1G带宽,100M带宽等。下例中带宽为1G!
[root@taohost ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: external
Auto-negotiation: off
Link detected: yes
[root@taohost ~]#
Linux 查询带宽命令ethtool eth0 查询网络带宽
|