Monitoring du Phytotron
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

create.sh 260B

123456789101112131415161718192021
  1. #!/bin/bash
  2. #
  3. # creating the test database
  4. #
  5. source ./commun.sh
  6. starttime=$(date +'%s')
  7. echo creating $RRDB at ${starttime}s since epoch
  8. rrdtool create $RRDB \
  9. --start $starttime \
  10. --step 60 \
  11. DS:value:GAUGE:150:0:10 \
  12. RRA:AVERAGE:0.5:1:60