annotate README @ 8:08b192a6e189

Add RRD output mode. Trim comments
author Daniel O'Connor <darius@dons.net.au>
date Wed, 20 Nov 2013 23:44:55 +1030
parents
children 139e267c9965
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
1 An RRD can be created like so..
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
2
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
3 rrdtool create ~/meter.rrd \
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
4 DS:import:COUNTER:600:U:U \
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
5 DS:export:COUNTER:600:U:U \
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
6 RRA:AVERAGE:0.5:1:105120 \
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
7 RRA:AVERAGE:0.5:12:105120 \
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
8 RRA:MAX:0.5:1:105120 \
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
9 RRA:MAX:0.5:12:105120 \
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
10 RRA:MIN:0.5:1:105120 \
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
11 RRA:MIN:0.5:12:105120
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
12
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
13 Then data added with..
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
14 rrdtool update ~/meter.rrd `ssh -ay -i ~/.ssh/id_rpi pi@raspberrypi python iec1107/iec1107.py -r /dev/ttyUSB0`
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
15
08b192a6e189 Add RRD output mode.
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
16