(1):
分辨网卡是百兆还是千兆:
[root@xsmedia ~]# ethtool eth0Settings 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: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: umbg
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: yes
[root@xsmedia ~]#
(2):直接使用iptarf 工具来查看
iptraf 工具很强大!!
首先直接网上down个:
wget
编译就可以使用的,方法很简单