shell脚本
shell脚本1:
while true do for i in {1..13} do ssh cbp$i.chinaoly.com "swapoff -a;" sleep 300 done done
shell脚本2:
for i in {1..13} do ssh cbp$i.chinaoly.com "hostname" ssh cbp$i.chinaoly.com "echo 1 > /proc/sys/vm/drop_caches " ssh cbp$i.chinaoly.com "swapoff -a;swapon -a " # ssh chinaoly$i.com "free -g" done
########## 今天的苦逼是为了不这样一直苦逼下去!##########