insertHistoricalRandomDataMultiPoint.sh 585 B

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