insertHistoricalRandomDataAPointAYear.sh 644 B

123456789101112131415
  1. #!/usr/bin/env bash
  2. #host=39.104.80.229
  3. host=127.0.0.1
  4. java -cp ./lib/tsdb.jar demo.allInsert.InsertHistoricalRandomData \
  5. --host=$host --pointNamePrefix=pointName_ --pointCount=1 --dataCountPerPoint=31536000 \
  6. --beginDate="2020-07-01 00:00:00" --period=1000 \
  7. --seed=1 --mean=10 --variance=0.1 --debug=0 2>&1 | tee -a ./log/tsdb/out.log
  8. #java -cp ./lib/tsdb.jar demo.allInsert.InsertHistoricalRandomData \
  9. #--host=$host --pointNamePrefix=pointName_ --pointCount=1 --dataCountPerPoint=100000 \
  10. #--beginDate="2021-05-01 00:00:00" --endDate="2021-05-04 00:00:00" \
  11. #--seed=1 --mean=10 --variance=1 --debug=0 2>&1 | tee -a ./log/tsdb/out.log