mii-tool and ethtool - Which one is better?

My data center was connected on GbPS network but while doing mii-tool and ethtool, i found the different output:

# mii-tool eth2
eth2: negotiated 100baseTx-FD flow-control, link ok
# ethtool eth2
Settings for eth2:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Half 1000baseT/Full
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Half 1000baseT/Full
    Advertised auto-negotiation: Yes
    Speed: 1000Mb/s
    Duplex: Full

Later i found that mii-tool is deprecated, the output for ethtool is correct. I noticed that mii-tool can only report up to 100MBit.

Another way is to check using dmesg:

# dmesg | grep eth2
eth02: eth2 NIC Link is Up, 1000 Mbps full duplex, receive & transmit flow control ON

Labels: