zoukankan      html  css  js  c++  java
  • [Mark] ethtool command in REHL OS

    Ethtool command usage: configure the Ethernet adapter under the linux os

    ethtool [ -a | -c | -g | -i | -d | -k | -r | -S |] ethX

    ethtool [-A] ethX [autoneg on|off] [rx on|off] [tx on|off]

    ethtool [-C] ethX [adaptive-rx on|off] [adaptive-tx on|off] [rx-usecs N] [rx-frames N] [rx-usecs-irq N] [rx-frames-irq N] [tx-usecs N] [tx-frames N] [tx-usecs-irq N] [tx-frames-irq N] [stats-block-usecs N][pkt-rate-low N][rx-usecs-low N] [rx-frames-low N] [tx-usecs-low N] [tx-frames-low N] [pkt-rate-high N] [rx-usecs-high N] [rx-frames-high N] [tx-usecs-high N] [tx-frames-high N] [sample-interval N]

    ethtool [-G] ethX [rx N] [rx-mini N] [rx-jumbo N] [tx N]

    ethtool [-e] ethX [raw on|off] [offset N] [length N]

    ethtool [-E] ethX [magic N] [offset N] [value N]

    ethtool [-K] ethX [rx on|off] [tx on|off] [sg on|off] [tso on|off]

    ethtool [-p] ethX [N]

    ethtool [-t] ethX [offline|online]

    ethtool [-s] ethX [speed 10|100|1000] [duplex half|full] [autoneg on|off] [port tp|aui|bnc|mii] [phyad N] [xcvr internal|external]

    [wol p|u|m|b|a|g|s|d...] [sopass xx:yy:zz:aa:bb:cc] [msglvl N]

     
     

    example:

    1.check the eth0 adapter speed

    #ethool eth0

    2.check the eth0 driver version

    #ethtool -i eth0

    3.check the exact location of eth0 ,which speed LED will blink after running the command

    #ethtool -p eth0 10

  • 相关阅读:
    计算机算法设计与分析<王晓东编著> 2-5有重复元素的排列问题
    oracle 解除锁表sql
    restful
    正则表达式积累
    序列函数
    目录
    mongo 导入json数据
    mysql关于timestamp类型
    bigdecimal 保留小数位
    输出内容到文件(日志输出)
  • 原文地址:https://www.cnblogs.com/yongdaiblog-201409/p/6832817.html
Copyright © 2011-2022 走看看