#!/usr/bin/env bash #host=39.104.80.229 host=127.0.0.1 clear for pointCount in 1000 2000 3000 5000 10000 20000 30000 50000 100000 200000 #for pointCount in 1000 2000 5000 do echo "----test insert dataCountPerPoint:${pointCount}" java -cp ./lib/influxdb.jar demo.allInsert.InsertRealtimeRandomData \ --host $host --pointNamePrefix pointName1_ --pointCount $pointCount --seed 1 \ --mean 10 --variance 1 --debug 0 2>&1 | tee -a ./log/influxdb/out.log sleep 1 #1 second done