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