linux下如何看网卡是千兆还是百兆的?使用ethtool命令。ethtool是Linux下用于查询及设置网卡参数的命令。举例:[root@hvrhub ~]# ethtool eth0Setting
linux下如何看网卡是千兆还是百兆的?
使用ethtool命令。ethtool是Linux下用于查询及设置网《繁体:網》卡参数的命令。
举例《读:lì》:
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s ------------------------------------>网卡kǎ 速度
Duplex: Full
Port: MII
PHYAD: 0
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
详细参数参考:(//后面是注《繁体:註》释,是原文的译文)
ethtool ethX /
ethtool –h //显示ethtool的命令帮助(help)
ethtool –i ethX //查询ethX网口的相关[繁体:關]信息
ethtool –d ethX //查询ethX网口注册(繁体:冊)性信息
ethtool –r ethX //重置ethX网口到自适[繁:適]应模式
ethtool –S ethX //查询ethX网口收发包统《繁:統》计
ethtool –s ethX [speed 10|100|1000] //设置网口速(pinyin:sù)率10/100/1000M
[du极速赛车/北京赛车plex half|full] //设置网(繁:網)口半/全双工
[autoneg on|off] //设置网口是[练:shì]否自协商
[port tp|aui|bnc|mii] //设置网口【pinyin:kǒu】类型
本文链接:http://10.21taiyang.com/Shooter-GamesGames/21297589.html
查看linux网卡是否属于千(繁:韆)兆转载请注明出处来源