其他分享
首页 > 其他分享> > ltp循环跑

ltp循环跑

作者:互联网

e]# cat r3.sh
#!/bin/bash
i=1
for ((; i<=1000; i++))
do
/opt/ltp/runltp -s fmtmsg01 -p -l -t -l /home/ltplogfm1000
done
echo "The i is: $i"
k=1
for ((; k<=1000; k++))
do
/opt/ltp/runltp -s rpc01 -p -l -t -l /home/ltplogrpc1000
done
echo "The k is: $i"
m=1
for ((; m<=2000; m++))
do
/opt/ltp/runltp -s fmtmsg01 -p -l -t -l /home/ltplogfm2000
done
echo "The m is: $m"
n=1
for ((; n<=2000; n++))
do
/opt/ltp/runltp -s rpc01 -p -l -t -l /home/ltplogrpc2000
done
echo "The n is: $n"

标签:opt,ltp,1for,runltp,循环,home,rpc01
来源: https://www.cnblogs.com/xuanbjut/p/12862854.html