Saltstack module ethtool 详解

ethtool.show_driver

Queries the specified network device for associated driver information

CLI Example:

    salt '*' ethtool.show_driver <devname>

ethtool.show_ring

Queries the specified network device for rx/tx ring parameter information

CLI Example:

    salt '*' ethtool.show_ring <devname>

ethtool.show_offload

Queries the specified network device for the state of protocol offload and other features

CLI Example:

    salt '*' ethtool.show_offload <devname>

ethtool.set_coalesce

Changes the coalescing settings of the specified network device

CLI Example:

    salt '*' ethtool.set_coalesce <devname> [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.set_ring

Changes the rx/tx ring parameters of the specified network device

CLI Example:

    salt '*' ethtool.set_ring <devname> [rx=N] [rx_mini=N] [rx_jumbo=N] [tx=N]

ethtool.set_offload

Changes the offload parameters and other features of the specified network device

CLI Example:

    salt '*' ethtool.set_offload <devname> tcp_segmentation_offload=on

ethtool.show_coalesce

Queries the specified network device for coalescing information

CLI Example:

    salt '*' ethtool.show_coalesce <devname>
posted @   random_lee  阅读(157)  评论(0编辑  收藏  举报
编辑推荐:
· .NET制作智能桌面机器人:结合BotSharp智能体框架开发语音交互
· 软件产品开发中常见的10个问题及处理方法
· .NET 原生驾驭 AI 新基建实战系列:向量数据库的应用与畅想
· 从问题排查到源码分析:ActiveMQ消费端频繁日志刷屏的秘密
· 一次Java后端服务间歇性响应慢的问题排查记录
阅读排行:
· 《HelloGitHub》第 108 期
· Windows桌面应用自动更新解决方案SharpUpdater5发布
· 我的家庭实验室服务器集群硬件清单
· Supergateway:MCP服务器的远程调试与集成工具
· C# 13 中的新增功能实操
历史上的今天:
2019-03-29 js 列表几种循环的比较
2019-03-29 JS中集合对象(Array、Map、Set)及类数组对象的使用与对比
2019-03-29 vue项目中设置跨域
点击右上角即可分享
微信分享提示