“ethtool” and “mii-tool” commands can be used to find the network card speed and the network link details.

Find details about the network interface card :

[root@linux-cloud ~]# 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                     <– The network interface is capable of 1000Mbps
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000007 (7)
        Link detected: yes
[root@linux-cloud ~]#

Find the network link speed and duplex details :

[root@linux-cloud ~]# mii-tool  -v
eth0: negotiated 100baseTx-FD, link ok  <– Shows 100Mbps & Full duplex
  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
  link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
[root@linux-cloud~]#

0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like
Read More

Load Average

A very good article on Unix Load averages and how it is calculated [ http://www.linuxjournal.com/article/9001 ] . Worth…
Read More

lsof – List open files

This lists information about files opened by processes. It is great, especially when you are troubleshooting an issue…
Read More

Sticky bit

What is the “sticky bit”? (t and T) The sticky bit is primarily used on shared directories.  It…