首页 > 兴趣 > Centos下用wondershaper限速
2017
02-24

Centos下用wondershaper限速

wondershaper是国外人开发的一款在Linux内核下基于TC工具的对整块网卡的限度工具,

首先下载wondershaper的rpm安装包

测试系统为Centos6.8
以下两条命令安装wondershaper
1.
yum install epel-release -y
2.
yum install wondershaper -y

配置WonderShaper参数语法
wondershaper (ethernet_adapter) (download_rate_in_kbits) (upload_rate_in_kbits)

限制下行和上行为5000KB/s为例
wondershaper eth0 5000 5000

解除限速
wondershaper clear eth0

赞赏

微信赞赏支付宝赞赏

来发表一下你看完该文章的感受吧
最后编辑:
作者:Mr.Long
这个作者貌似有点懒,什么都没有留下。

留下一个回复

你的email不会被公开。