linux限制网速的方法

用wondershaper限速

1.安装wondershaper

sudo yum install wondershaper

2.限制网速

wondershaper 【网卡接口名】 【下行速度(Kb)】【上行速度(Kb)】

如:wondershaper eth0 500 50

3.取消限速

wondershaper  clear 【网卡接口名】

如:wondershaper  clear eth0

posted @ 2018-01-10 08:55  happyqly0  阅读(5009)  评论(0编辑  收藏  举报