首先你要安装wondershaper
运行
yum -y install wondershaper例如,将接口 eth0 的下载速度限制为10Mbps,上传速度限制为1Mbps,您可以运行以下命令:
sudo wondershaper eth0 10240 1024 首先你要安装wondershaper
运行
yum -y install wondershaper例如,将接口 eth0 的下载速度限制为10Mbps,上传速度限制为1Mbps,您可以运行以下命令:
sudo wondershaper eth0 10240 1024