PS:亲测可用
一、下载并安装
#wget http://dl.fedoraproject.org/pub/epel/6/x86_64/Packages/w/wondershaper-1.2.1-2.el6.noarch.rpm .
#rpm -ivh wondershaper-1.2.1-2.el6.noarch.rpm
二、限速及取消
限速命令:
#wondershaper eth0 3000 30000
注:阿里云中实测实际限制的下载速度在500K/s左右,10M带宽上传速度可达5-6M/s
取消限速:
#wondershaper clear eth0
效果见图