DD2-monitor/rrdb/mkgraph.sh

12 lines
158 B
Bash
Raw Normal View History

2019-01-05 05:48:03 +11:00
#!/bin/bash
source ./commun.sh
rrdtool graph value.png \
--start 0 --end now \
-w 800 -h 600 \
DEF:value=${RRDB}:value:LAST \
LINE1:value#0000FF