码迷,mamicode.com
首页 > 系统相关 > 详细

Linux网络设备相关

时间:2016-04-13 02:12:28      阅读:311      评论:0      收藏:0      [点我收藏+]

标签:

  1、ethtool:query or control network driver and hardware settings

  1)简介:ethtool用于查询和控制网络设备驱动和硬件(特别是有线的以太网设备)的设置。

  2)选项:-i:查询指定设备的驱动信息;-S:查询指定设备的统计信息(rx_packets、rx_bytes等);只指定设备时,打印其当前设置:

[root@localhost ~]# ethtool ens33
Settings for ens33:
        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: 1000Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: off (auto)
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

 

 




不断学习中。。。

Linux网络设备相关

标签:

原文地址:http://www.cnblogs.com/hanerfan/p/5385156.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!