linux查看网卡带宽命令,LINUX查看网卡带宽(100M还是1000M)命令

51Testing软件测试网'i ZKZc'H?

如何不被忽悠?linux/centos如何查看网卡是1000M?检查100兆还是千兆(1GBPS)带宽接入,请看下面命令,[dA1`6zv-U-U051Testing软件测试网 [@%E)R%Dn5A/v

51Testing软件测试网 V.LVY.b51Testing软件测试网e^`*S-I(iJys{v

[root@www.ctohome.com]# mii-tool -V51Testing软件测试网 ZtD0tS2u

mii-tool.c 1.9 2000/04/28 00:56:08 (David Hinds)51Testing软件测试网Q Aw G1f

z

SIOCGMIIREG on eth0 failed: Input/output error

(F9@Zk^v.o1Yt0eth0: negotiated 100baseTx-FD, link ok51Testing软件测试网

AtaHy2t:],{51Testing软件测试网.k2N}&fA

&e#M)bs~:T(k(d&y0[root@www.ctohome.com]#mii-tool -v51Testing软件测试网@3G"{|)|

SIOCGMIIREG on eth0 failed: Input/output error51Testing软件测试网-e$`

e n?4C

eth0: negotiated 100baseTx-FD, link ok

6s'?$MW4HY0  product info: vendor 00:aa:00, model 57 rev 0

)WY2m1n1oM!uZ0  basic mode:   autonegotiation enabled

i |3|KNi0  basic status: autonegotiation complete, link ok51Testing软件测试网q9jJ3Lh#f\

capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD51Testing软件测试网hi$pRJ%I:r,U_

advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD

flow-control51Testing软件测试网"|\9['?NJ9[A&D

link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD51Testing软件测试网o,@sX_`51Testing软件测试网wufjk(x

51Testing软件测试网m#V,en4r|5a*{x

[root@www.ctohome.com]#ethtool eth051Testing软件测试网 j,x1X5k(t!OFg9Q

Settings for eth0:

"b(HE O\3UF;KR0        Supported ports: [ TP ]51Testing软件测试网/`+q)A/tl]pd[

Supported link modes:

10baseT/Half 10baseT/Full51Testing软件测试网7E){]Uw%k*D5d

100baseT/Half 100baseT/Full51Testing软件测试网qf"x$]e:?

1000baseT/Full

)V6M \$rK2f`7yj0        Supports auto-negotiation: Yes

}avo| a0        Advertised link modes:

10baseT/Half 10baseT/Full

A4J;K#o3j2a+|"J.m0

100baseT/Half 100baseT/Full51Testing软件测试网~P;K0@!X%kc

1000baseT/Full

p(|"@R-sP'tM0        Advertised auto-negotiation: Yes

XZ+WP_l{0        Speed: 100Mb/s

4E.@5F2g{*J0        Duplex: Full

_9j4GSeus0        Port: Twisted Pair51Testing软件测试网8QQYLp"KN

PHYAD: 151Testing软件测试网 Bi{ m4I#X

Transceiver: internal

K\(x#Fz(sc0        Auto-negotiation: on51Testing软件测试网

v+uh9O7qfz-p/[

Supports Wake-on: pumbag

&}*T#ki;O2syu0        Wake-on: g

U.eNm#s(?d0        Current message level: 0x00000001

(1)

2f"E!UUlmr?0        Link detected: yesB"].c8N:o:o-v051Testing软件测试网p^)Y k0K

51Testing软件测试网2F(b^)O'f,OD51Testing软件测试网P!K2L AVF.cd

要测试是否是1000M端口,最保险的说用wget测试一个对方的带宽足够大的下载地址:%|0l5@2J3jZ"`_Q0

6uIG-y&apy0wget http://cachefly.cachefly.net/100mb.test51Testing软件测试网_ p

E%v-sn

--2011-03-14 22:19:12--  http://cachefly.cachefly.net/100mb.test51Testing软件测试网;~U3e:h6a:v,[B.j

Resolving cachefly.cachefly.net... 205.234.175.17551Testing软件测试网0J]:Q.|8K(L}@?~8Ok

Connecting to cachefly.cachefly.net|205.234.175.175|:80... connected.51Testing软件测试网!MiMB'o%A"J+K%M"[

HTTP request sent, awaiting response... 200 OK51Testing软件测试网a#f-j.Y8L)N&NY

Length: 104857600 (100M) [application/octet-stream]51Testing软件测试网OJY2n f`c

Saving to: `100mb.test.2'51Testing软件测试网/\G*Q$gB E

51Testing软件测试网*OkbE4qG$Q*u

100%[===================================================================================================================>]

104,857,600 39.1M/s   in 2.6s   51Testing软件测试网XY,XT6N%^,d

5fw8UBZc:D;f~02011-03-14 22:19:14 (39.1 MB/s) - `100mb.test.2'

saved [104857600/104857600]51Testing软件测试网b.Q!R+P"g1w51Testing软件测试网*woC;Q["Y|8R

如果下载速度能超过15MB/s,那么不是100M端口了,通常就是1000M端口t#G)kNz5h0 51Testing软件测试网:ms!D}m'@v51Testing软件测试网6_jq%RR[d)CV

?c,aMN6O p-s)aO0如果是独立服务器,可以通过下面命令核查网卡端口:51Testing软件测试网%x!jga;F'|rM51Testing软件测试网3gx%V+kbr4d

51Testing软件测试网A.cJ2SrNEu

[root@www.ctohome.com ]#ethtool eth0

mv#fV[I4ht0C`0Settings for eth0:51Testing软件测试网r%N

vYn]2O

Supported ports: [ TP ]

hT}!l`;i!J0        Supported link modes:

10baseT/Half 10baseT/Full51Testing软件测试网7|{k.I D)v^

100baseT/Half 100baseT/Full

ZD'zRGmnL5W9|x0

1000baseT/Full

%U

ju5\*IMMtd`0        Supports auto-negotiation: Yes51Testing软件测试网 L3r4u!N wo%\C"cb

Advertised link modes:

10baseT/Half 10baseT/Full51Testing软件测试网sNU.EU

100baseT/Half 100baseT/Full

Q7IufV,y'Yk4U^0

1000baseT/Full

sAzxCD?j.eT0        Advertised auto-negotiation: Yes

9O$]'EL3^E%Cj&HN'~0       Speed:

1000Mb/s51Testing软件测试网}wg_`7[4@

Duplex: Full

6?0QB:Ei3SC?E$Z(^0        Port: Twisted Pair51Testing软件测试网hc8q0BE

PHYAD: 1

$TF{6@e%d)a9j"h0        Transceiver: internal51Testing软件测试网i~ew

^8a&vL'e

Auto-negotiation: on51Testing软件测试网.B;Q9j;DY$[c

Supports Wake-on: pumbag

M4uM9bE6d1]0        Wake-on: g51Testing软件测试网Ng0`H(wl j

Current message level: 0x00000001

(1)51Testing软件测试网6|XKg v/Y'N

Link detected: yes?2F C;B[3h2X?

}0

ovy5o2[0M,F

O)Y?9V0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值