#!/bin/bash
step=1 #间隔的秒数,不能大于60
for (( i = 0; i < 60; i=(i+step) )); do
$(curl 'http://test.wuchaoyu.com')
sleep $step
done
exit 0
while true
do
echo "-------------Active RM/是否切换以及active节点数----------------" >> checkresult.log
echo "check crmzk1" >> checkresult.log
elinks 192.168.182.113:8088 >>checkresult.log
echo "" >>checkresult.log
echo "" >>checkresult.log
echo "check crmzk2 " >> checkresult.log
elinks 192.168.182.114:8088 >>checkresult.log
sleep 10
done
Active RM/是否切换以及active节点数
最新推荐文章于 2021-10-12 14:43:57 发布