createMultiTimeseries.sh 639 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env bash
  2. # 插入单点历史数据,周期7s
  3. ROOT=$(cd `dirname $0`/../../../; pwd)
  4. cd $ROOT
  5. host=39.104.80.229
  6. index=1
  7. pointCount=1
  8. echo "[${index}] test"
  9. pointNamePrefix="pointName${index}_"
  10. storagePath="root.test1.wf01.wt01"
  11. pointBeginIndex=1
  12. for pointCount in 10
  13. do
  14. echo "----test insert pointCount:${pointCount} pointNamePrefix:${pointNamePrefix} pointBeginIndex:${pointBeginIndex}"
  15. nohup java -cp ./lib/iotdb.jar -Xmx8000m demo.timeseriesControl.CreateTimeseries \
  16. --host ${host} --storagePath ${storagePath} --pointNamePrefix ${pointNamePrefix} --pointCount ${pointCount} \
  17. 2>&1 | tee -a ./log/iotdb/out.log
  18. done