Linux/centos How to see if the NIC is 100M or 1000M. Check the 100 gigabit or gigabit (1GBPS) bandwidth access, please see the command below
[root@www.ctohome.com]# mii-tool-v
MII-TOOL.C 1.9 2000/04/28 00:56:08 (David Hinds)
Siocgmiireg on eth0 failed:input/output error
eth0:negotiated 100basetx-fd, link ok
[root@www.ctohome.com]# mii-tool-v
Siocgmiireg on eth0 failed:input/output error
eth0:negotiated 100basetx-fd, link ok
Product Info:vendor 00:aa:00, model Rev 0
Basic Mode:autonegotiation Enabled
Basic status:autonegotiation complete, link OK
CAPABILITIES:100BASETX-FD 100BASETX-HD 10BASET-FD 10BASET-HD
ADVERTISING:100BASETX-FD 100BASETX-HD 10baset-fd 10BASET-HD Flow-control
Link PARTNER:100BASETX-FD 100basetx-hd 10baset-fd 10baset-hd
[root@www.ctohome.com]# ethtool eth0
Settings 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:100mb/s
Duplex:full
Port:twisted Pair
Phyad:1
Transceiver:internal
Auto-negotiation:on
Supports Wake-on:pumbag
Wake-on:g
Current message level:0x00000001 (1)
Link Detected:yes
to test whether it is a 1000M port, the most safe to say with wget test a partner's bandwidth is large enough to download the address:
wget http://cachefly.cachefly.net/100mb.test
--2011-03-14 22:19:12--Http://cachefly.cachefly.net/100mb.test
Resolving cachefly.cachefly.net ... 205.234.175.175
Connecting to cachefly.cachefly.net|205.234.175.175|:80 ... Connected.
HTTP request sent, awaiting response ... OK
length:104857600 (100M) [Application/octet-stream]
Saving to: ' 100mb.test.2 '
100%[========================================================================================================== =========>] 104,857,600 39.1m/s in 2.6s
2011-03-14 22:19:14 (39.1 MB/s)-' 100mb.test.2 ' saved [104857600/104857600]
If the download speed can exceed the 15mb/s, then is not 100M port, usually is the 1000M port
If you are a stand-alone server, you can verify the network card port by following the command:
[Root@www.ctohome.com]# Ethtool eth0
Settings 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:1
Transceiver:internal
Auto-negotiation:on
Supports Wake-on:pumbag
Wake-on:g
Current message level:0x00000001 (1)
Link Detected:yes