2DSH3lQ"B0如何不被忽悠?linux/centos如何查看网卡是1000M?检查100兆还是千兆(1GBPS)带宽接入,请看下面命令)H?.H@)S5]#k051Testing软件测试网lR*af&G)U,apu
51Testing软件测试网)e p,lE&xHx&A
!L o2ne}*J0[root@www.ctohome.com]# mii-tool -V51Testing软件测试网Jc9oe!TrC'N
mii-tool.c 1.9 2000/04/28 00:56:08 (David Hinds)
?HIsl(rs!c0SIOCGMIIREG on eth0 failed: Input/output error
n/n Y{Lwt0eth0: negotiated 100baseTx-FD, link ok5CiN ^SG\&p'D1U051Testing软件测试网{%~LWj.B*mm
51Testing软件测试网i/N1?]2D*tD
[root@www.ctohome.com]#mii-tool -v
.l$O:A/D5W^cp&P0SIOCGMIIREG on eth0 failed: Input/output error
t,p*f?aY0eth0: negotiated 100baseTx-FD, link ok51Testing软件测试网:Pc.cOF
product info: vendor 00:aa:00, model 57 rev 0
'y(lxM#X}0 basic mode: autonegotiation enabled
t*h'@wi3j.{0 basic status: autonegotiation complete, link ok51Testing软件测试网:gcRe}uz#\#V1xKv
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD51Testing软件测试网9Sq#D"O]Z
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
flow-control51Testing软件测试网9TF;rzU!^
link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD51Testing软件测试网j'y$r@3s51Testing软件测试网B(tExFR vF
;G8g#wc c0[root@www.ctohome.com]#ethtool eth0
6ETvmT0Settings for eth0:
~L}~.Lh1Da0 Supported ports: [ TP ]51Testing软件测试网f] ?VU+OV6Ex
Supported link modes:
10baseT/Half 10baseT/Full
dD6z#E2tJR0
100baseT/Half 100baseT/Full
|"X:ak4Y8rB(A0
1000baseT/Full
0QNnG#j0 Supports auto-negotiation: Yes51Testing软件测试网F.T9j7\.h
Advertised link modes:
10baseT/Half 10baseT/Full51Testing软件测试网p*gs$n(V3[Xr^ o
100baseT/Half 100baseT/Full51Testing软件测试网^"t-bA|P%sI
1000baseT/Full51Testing软件测试网|Y"dbG_s;~5^/C
Advertised auto-negotiation: Yes
;C}'uO)wk7}w0 Speed: 100Mb/s51Testing软件测试网tA)U7ezae!YBn
Duplex: Full51Testing软件测试网%E[o"uj'_
Port: Twisted Pair51Testing软件测试网j$X3vK Cw;z"f
PHYAD: 1
"E2|Kk&V6b0 Transceiver: internal
[ pF0w)]RqZ8?0 Auto-negotiation: on
SxaW L0 Supports Wake-on: pumbag
N5R{+jj0 Wake-on: g
N
oq-T;a/Y#b0 Current message level: 0x00000001
(1)
+TT[%@*]`0 Link detected: yes51Testing软件测试网0Z:rGyg+ix)Aw4A51Testing软件测试网.J4`C.WK/@b
3m5b7u!D-EI0
M$V:h9W'a"a R[X0要测试是否是1000M端口,最保险的说用wget测试一个对方的带宽足够大的下载地址:3d]s2f;a,|!A051Testing软件测试网JS,p_e{V
wget http://cachefly.cachefly.net/100mb.test
I;[s4Lo Xg:lu%]0--2011-03-14 22:19:12-- http://cachefly.cachefly.net/100mb.test51Testing软件测试网y_0AUE8\:[f$c'A
Resolving cachefly.cachefly.net... 205.234.175.17551Testing软件测试网;[*unLcYD
Connecting to cachefly.cachefly.net|205.234.175.175|:80... connected.51Testing软件测试网NAn9]v'KB_"x'B:@!aM
HTTP request sent, awaiting response... 200 OK
P,d8Racp,Nqd;u0Length: 104857600 (100M) [application/octet-stream]
y_-W!eStr0Saving to: `100mb.test.2'
I.K/U$TrZ?T^051Testing软件测试网)jXltG
g!j
100%[===================================================================================================================>]
104,857,600 39.1M/s in 2.6s
8t'g3HZW0
{^f8P?]02011-03-14 22:19:14 (39.1 MB/s) - `100mb.test.2'
saved [104857600/104857600]U
v"drw0
$rTx&p7CX[0如果下载速度能超过15MB/s,那么不是100M端口了,通常就是1000M端口@cL)Eq/g)?Y0
4qt8?#h[K-wQhR0kn8q:^$eo1t7cZO051Testing软件测试网y\h!t/~n#ljIed"iW
如果是独立服务器,可以通过下面命令核查网卡端口:51Testing软件测试网U]8lW2O&j0TFJ51Testing软件测试网p+\l!r Z"M(_H(s4U
51Testing软件测试网6D$mB
~"~2z"\/Uf)W
B
[root@www.ctohome.com ]#ethtool eth0
1x_\tR-r&V%V0Settings for eth0:
3OtAj3Dv$y0 Supported ports: [ TP ]51Testing软件测试网.L9Z)[*ss+_$m$y%c
Supported link modes:
10baseT/Half 10baseT/Full51Testing软件测试网 v+jU:lD/o8{l\
e-y
100baseT/Half 100baseT/Full51Testing软件测试网q4y0]7B`-ml:e
~
1000baseT/Full51Testing软件测试网#{Gh6?j \6zf[}*g
Supports auto-negotiation: Yes
:\0M%c
\b&R0 Advertised link modes:
10baseT/Half 10baseT/Full
iK@R4o#y0
100baseT/Half 100baseT/Full
-E5WM3gj\%[7w0
1000baseT/Full51Testing软件测试网
`)P#? Zf.s{
Advertised auto-negotiation: Yes51Testing软件测试网`2S!i N)p9E,X
Speed:
1000Mb/s51Testing软件测试网E~,TRU
Duplex: Full
aNV-[5B-Dc0 Port: Twisted Pair51Testing软件测试网dc&z