querySinglePointLastData.sh 332 B

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