2015-10-16

[SOLVED]determine linux network speed





17:13 09/04/2015
################C1
ethtool ethx
root@srv148 /etc/nginx_64180/site-availabled# ethtool eth1
Settings for eth1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s             <<<<<<<<<<<<<<<<<<<<<<<<<<<
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: off
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes
root@srv148 /etc/nginx_64180/site-availabled#
#
root@srv148 ~# ethtool eth1 | grep Speed
        Speed: 100Mb/s

################C2
root@srv148 /etc/nginx_64180/site-availabled# dmesg |grep eth1
e1000e 0000:07:00.0: eth1: (PCI Express:2.5GT/s:Width x1) 00:25:90:e7:39:af
e1000e 0000:07:00.0: eth1: Intel(R) PRO/1000 Network Connection
e1000e 0000:07:00.0: eth1: MAC: 3, PHY: 8, PBA No: 0101FF-0FF
ADDRCONF(NETDEV_UP): eth1: link is not ready
e1000e: eth1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: None <<<<<<<<<<<<<<<<<<<<<<<<<<<
e1000e 0000:07:00.0: eth1: 10/100 speed: disabling TSO    
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
device eth1 entered promiscuous mode
device eth1 left promiscuous mode
root@srv148 /etc/nginx_64180/site-availabled#

No comments:

Post a Comment