1234567891011121314151617 |
- #!/usr/bin/env bash
- #host=39.104.80.229
- host=127.0.0.1
- dataCountPerPoint=1000
- pointCount=100
- index=1
- echo "[${index}] test"
- pointNamePrefix="pointName${index}_"
- echo "----test insert pointCount:${pointCount} dataCountPerPoint:${dataCountPerPoint}"
- java -cp ./lib/influxdb.jar -Xmx8000m demo.allInsert.InsertHistoricalRandomData \
- --host $host --pointNamePrefix ${pointNamePrefix} --pointCount ${pointCount} \
- --dataCountPerPoint ${dataCountPerPoint} --beginDate "2022-03-01 00:00:00" --period 300000 \
- --seed 1 --mean 10 --variance 1 --debug 0 2>&1 | tee -a ./log/influxdb/out.log
|