bon, c'est pas evident ce truc

This commit is contained in:
tth 2019-01-04 19:48:03 +01:00
förälder f546418fb4
incheckning 7adc8a27ff
2 ändrade filer med 12 tillägg och 0 borttagningar

Visa fil

@ -15,6 +15,7 @@ Un petit peu de code fabriqué à la rache.
- `create.sh`
- `update.sh`
- `getvalues.sh`
- `mkgraph.sh`
Suffisant pour comprendre le principe général, mais très flou
sur les détails.

11
rrdb/mkgraph.sh Executable file
Visa fil

@ -0,0 +1,11 @@
#!/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