12345678910111213141516171819202122232425 |
- #!/usr/bin/env bash
- # 创建时间序列
- ROOT=$(cd `dirname $0`/../../../; pwd)
- cd $ROOT
- source $ROOT/shell/tsdb/common.sh
- index=1
- pointCount=1
- echo "[${index}] test"
- pointNamePrefix="pointName${index}_"
- storagePath="root.test1.wf01.wt01"
- pointBeginIndex=1
- for pointCount in 10
- do
- echo "----test insert pointCount:${pointCount} pointNamePrefix:${pointNamePrefix} pointBeginIndex:${pointBeginIndex}"
- nohup java -cp ./lib/iotdb.jar -Xmx8000m demo.timeseriesControl.CreateTimeseries \
- --host ${host} --storagePath ${storagePath} --pointNamePrefix ${pointNamePrefix} --pointCount ${pointCount} \
- 2>&1 | tee -a ./log/iotdb/out.log
- done
|