queryMultiPointLastData.sh 399 B

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