#!/usr/bin/env bash #host=39.104.80.229 host=127.0.0.1 pointCountArray=(50000 50000 50000) pointNamePrefixArray=("prefix1_" "prefix2_" "prefix3_") for(( i=0;i<${#pointCountArray[@]};i++)) do echo "----client:${i+1} insert dataCountPerPoint:${pointCountArray[i]}" java -cp ./lib/tsdb.jar demo.allInsert.InsertRealtimeRandomData \ --host=$host --pointNamePrefix=${pointNamePrefixArray[i]} --pointCount=${pointCountArray[i]} --seed=1 \ --mean=10 --variance=1 --debug=0 2>&1 | tee -a ./log/tsdb/out.log & done