linux下查看网卡限速,linux 网卡限速
#安装git
yum -y install git
#下载wondershaper
git clone https://github.com/magnific0/wondershaper.git
第二种安装依赖以及工具:
yum install epel-release -y yum install wondershaper -y
#查看查用命令
cd wondershaper/
./wondershaper -h
USAGE: ./wondershaper [-hcs] [-a ] [-d ] [-u ]
Limit the bandwidth of an adapter
OPTIONS:
-h Show this message
-a Set the adapter
-d Set maximum download rate (in Kbps) and/or
-u Set maximum upload rate (in Kbps)
-p Use presets in /etc/conf.d/wondershaper.conf
-c Clear the limits from adapter
-s Show the current status of adapter
-v Show the current version
MODES:
wondershaper -a -d -u
wondershaper -c -a
wondershaper -s -a
EXAMPLES:
wondershaper -a eth0 -d 1024 -u 512
wondershaper -a eth0 -u 512
wondershaper -c -a eth0
#限制命令
./wondershaper -a ens192 -u 1000 -d 10240
#网卡 ens192 上传限制到1000kb 下载限制到 10240kb
清除原有规则 (两个参数可以是任何字符)
wondershaper clean clean
原文:https://www.cnblogs.com/SunshineKimi/p/12131955.html
linux下查看网卡限速,linux 网卡限速相关推荐
- Linux下查看网卡信息及确定网卡位置以及更改网卡名称
转载链接 : Linux下查看网卡信息及确定网卡位置 https://blog.51cto.com/liuqun/1981915 查看Linux网卡访问流量的方法 安装iftop命令(基于epel源) ...
- 如何在linux下查看cpu个数,linux如何查看cpu个数
linux查看cpu个数!用什么方法好呢?下面由学习啦小编给你做出详细的linux查看cpu个数方法介绍!希望对你有帮助! linux查看cpu个数方法一 1查看物理cpu个数 grep 'physi ...
- linux下查看bios命令,Linux/centos/ubuntu下查看主板BIOS信息
第一步.要安装dmidecode这个包才能查询主板信息.Centos如下: [root@localhost ~]# yum install dmidecode Loaded plugins: fast ...
- linux下查看bios命令,Linux系统查看BIOS信息命令
欢迎,来自IP地址为:123.145.25.232 的朋友 Linux系统如何使用命令查看BIOS信息呢,这多多少少都会困扰到用户. 其它,Linux系统查看主机BIOS信息是非常方便的,使用&quo ...
- 怎么在linux下查看gpu版本号,linux.查看gpu版本
SCC(超级计算集群)简介 SCC概述 超级计算集群(Super Computing Cluster,SCC)使用高速RDMA网络互联的CPU以及GPU等异构加速设备,面向高性能计算.人工智能/机器学 ...
- linux下查看系统硬件,Linux 查看系统硬件信息 Linux 查看系统硬件信息(实例详解)...
linux查看系统的硬件信息,并不像windows那么直观,这里我罗列了查看系统信息的实用命令,并作了分类,实例解说.html cpu lscpu命令,查看的是cpu的统计信息.linux blue@ ...
- linux下查看服务器性能,linux命令查看服务器性能
1 uptime 当前时间 13:02:42 系统已运行的时间 11 days, 19:00 当前在线用户 2 users 平均负载:0.43, 0.25, 0.23,最近1分钟.5分钟.15分钟系统 ...
- linux下查看bios命令,Linux查看BIOS版本/信息详情
Linux查看BIOS版本/信息详情 命令如下: #dmidecode -t 0 例子: root@DS:~# dmidecode -t 0 # dmidecode 2.12 # SMBIOS ent ...
- linux下查看BLAST程序,Linux下BLAST的使用---转载
1.把BLAST的压缩文件解压,然后将bin目录下的文件拷贝至/usr/local/bin下: 2.制作软链接,将解压后的文件中bin目录链接至/home/username下,eg:ln -s /ho ...
- linux下查看cpu峰值,linux下查看CPU信息
1. cpu文件位置 /proc/cpuinfo 2. 查看信息命令: cpu逻辑核个数: cat /proc/cpuinfo | grep "processor" | wc - ...
最新文章
- 教程 | 基于LSTM实现手写数字识别
- python3 的range
- 【脚下有根】之Skia库的matrix代码解读
- 快速理解平衡二叉树、B-tree、B+tree、B*tree
- Newlife.Cube登录登出
- android使用handler记录
- mybatis 控制台打印sql脚本
- BlueIdea 7周年 北京欢天喜地大聚会
- Navicat for oracle 提示 cannot load oci dll,193的解决方法
- 用网络附加存储(NAS)构建(本地及远程)、数据容灾
- 使用Python实现简单的随机数字抽奖
- 【小小小白进行手机进行刷机测试 Ubuntu系统下安装adb工具、fastboot工具】
- 小米商场html幻灯片代码,小米商城商品详情页布局(HTML代码太长贴不上去,只能贴jQuery代码)...
- 计算机什么病毒有远程控制功能,怎样知道自己的电脑已被远程控制
- 变频电源是否可以节能呢
- OSM和PBF数据格式说明
- 幻14 连不上无线网 网卡掉驱动
- 手握流量密码,万粉不是梦
- 一个人最重要的是什么?
- 汇编语言——《汇编语言程序的上机过程》实验报告