标签:
1、ethtool:query or control network driver and hardware settings
1)简介:ethtool用于查询和控制网络设备驱动和硬件(特别是有线的以太网设备)的设置。
2)选项:-i:查询指定设备的驱动信息;-S:查询指定设备的统计信息(rx_packets、rx_bytes等);只指定设备时,打印其当前设置:
[root@localhost ~]# ethtool ens33
Settings for ens33:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
不断学习中。。。
标签:
原文地址:http://www.cnblogs.com/hanerfan/p/5385156.html