view scripts/ring_experiment.sh @ 330:d35ff0f588e8

keep alive may work... but bug exist.
author sugi
date Mon, 31 Mar 2014 22:28:52 +0900
parents f60c0246c8ce
children
line wrap: on
line source

#!/bin/bash

cnt=$1 # start num
d=$2   # diff
max=$3 # max num

while [ $cnt -lt $max ]
do
    ./ring_run.sh 10 $cnt
    cnt=`expr $cnt + $d`
done
wait