- #!/usr/bin/env bash
- #host=39.104.80.229
- host=127.0.0.1
- pointIndex=1
- echo "----test query point last data pointIndex:${pointIndex}"
- java -cp ./lib/influxdb.jar demo.query.last.QuerySinglePointLastData \
- --host $host --pointNamePrefix pointName1_ --pointIndex ${pointIndex} \
- --showQueryResult 1 2>&1 | tee -a ./log/influxdb/out.log
|