zl程序教程

您现在的位置是:首页 >  系统

当前栏目

linux 下查看网卡工作速率

Linux网卡 查看 工作 速率
2023-09-27 14:29:21 时间
ethtool –h //显示ethtool的命令帮助(help)
ethtool –i ethX //查询ethX网口的相关信息
ethtool –d ethX //查询ethX网口注册性信息
ethtool –r ethX //重置ethX网口到自适应模式
ethtool –S ethX //查询ethX网口收发包统计
ethtool –s ethX [speed 10|100|1000]\ //设置网口速率10/100/1000M
[duplex half|full]\ //设置网口半/全双工
[autoneg on|off]\ //设置网口是否自协商



使用ethtool,结果如下:

[root@hadoop009 var]# ethtool  em1
Settings for em1:
        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: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: Unknown
        Supports Wake-on: g
        Wake-on: d
        Link detected: yes


[ linux ] 工作中常用的防火墙操作 之前写防火墙简介,有粉丝私信我:Linux的相关防火墙操作 在这里我总结了一些Linux关于防火墙的常用操作 总结的可能不是很全面,但在工作中是绝对够了
我在工作中是如何使用【linux】 一.常用命令 二.文件和目录处理 三.用户与组管理命令 四.进程管理命令 五.网络管理命令 六-.帮助命令 七.磁盘管理 大家好,这是我首篇博客,内容是linux工作需用到的内容。在这里我给大家总结出来了,希望多支持支持,感谢 一.常用命令 date 显示日期 1.date --help命令显示 2.时间日期显示例: //date + %Y/%m/%d:以2021/04/02形式显示 date -d 2021-02-22 + %Y-%m-%d %H:%M :%S :显示指定日期的详细时间 date -d 2021-02-22 +n month/days + %Y
@dailidong@ 专注架构 外功修行,内功修神 CSDN博客:http://blog.csdn.net/odalidong