123456789101112131415161718 |
- #!/usr/bin/env bash
- ROOT=$(cd `dirname $0`/../../../; pwd)
- cd $ROOT
- source $ROOT/shell/influxdb/common.sh
- #pointCountArray=(1 2 3 5 10 20 30 50 100 200 300 500 1000 2000 3000 5000 10000 20000 30000 50000 100000 200000)
- pointCountArray=(1 2 3 5 10 20 30 50 100 200 300 500 1000 2000 3000 5000 10000 20000)
- pointIndex=1
- for(( i=0;i<${#pointCountArray[@]};i++))
- do
- echo "----test query realtime data pointCount:${pointCountArray[i]}"
- java -cp ./lib/influxdb.jar demo.query.last.QueryMultiPointLastData \
- --host $host --pointNamePrefix pointName1_ --pointIndex ${pointIndex} --pointCount ${pointCountArray[i]} \
- --showQueryResult 3 2>&1 | tee -a ./log/influxdb/out.log
- done
|