wait
for ip in ${rollsite[*]}; do
echo ${ip}
ssh -p ${ssh_port} -tt ${user}@${ip} << eeooff
source /data/projects/fate/init_env.sh
cd /data/projects/fate/eggroll/
sh bin/eggroll.sh rollsite $act
exit
eeooff
done
wait
==================================
sudo yum install net-tools -y
sudo tc qdisc del dev eth0 root
sudo tc qdisc add dev eth0 root handle 1: htb r2q 1
sudo tc class add dev eth0 parent 1: classid 1:1 htb rate 20mbit ceil 20mbit
sudo tc filter add dev eth0 parent 1: protocol ip prio 16 u32 match ip dst 172.16.153.134 flowid 1:1
sudo tc -s -d class show dev eth0
https://blog.csdn.net/yangshangwei/article/details/87691890