1234567891011121314151617181920 |
- #!/usr/bin/env bash
- #host=39.104.80.229
- host=127.0.0.1
- dataCountPerPoint=35040
- pointCount=300000
- index=1
- echo "[${index}] test"
- pointNamePrefix="pointName${index}_"
- beginDate="2018-06-01 00:00:00"
- echo beginDate:beginDate
- echo "----test insert pointCount:${pointCount} dataCountPerPoint:${dataCountPerPoint}"
- nohup java -cp ./lib/influxdb.jar -Xmx2000m demo.allInsert.InsertHistoricalRandomDataInsertPerPoint \
- --host $host --pointNamePrefix ${pointNamePrefix} --pointCount ${pointCount} \
- --dataCountPerPoint ${dataCountPerPoint} --beginDate "$beginDate" --period 3600000 \
- --seed 1 --mean 10 --variance 1 --debug 0 2>&1 &
|