516 words, 2 mins
ethtool 命令主要用于查询配置网卡参数。比如带宽速度
用法:ethtool eth0
$ ethtool eth0
Settings for eth0:
Supported ports: [ ]
Supported link modes: Not reported
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: Unknown!
Duplex: Unknown! (255)
Port: Other
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Cannot get wake-on-lan settings: Operation not permitted
Link detected: yes
这里的Speed
显示Unknown!
,阿里云服务器查不出来
PREVIOUSpktgen-测试网络性能
NEXTiperf3-TCP/UDP性能