summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 71db131)
raw | patch | inline | side by side (parent: 71db131)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 2 Jun 2009 13:55:40 +0000 (13:55 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 2 Jun 2009 13:55:40 +0000 (13:55 +0000) |
doc/rrdupdate.pod | patch | blob | history |
diff --git a/doc/rrdupdate.pod b/doc/rrdupdate.pod
index c285ee372545e02595607c12a3445d01ebe64916..67908d016f986d6d64ee9af32d07160694267d6d 100644 (file)
--- a/doc/rrdupdate.pod
+++ b/doc/rrdupdate.pod
B<rrdtool> {B<update> | B<updatev>} I<filename>
S<[B<--template>|B<-t> I<ds-name>[B<:>I<ds-name>]...]>
-S<[B<--daemon> I<address>]>
+S<[B<--daemon> I<address>]> [B<-->]
S<B<N>|I<timestamp>B<:>I<value>[B<:>I<value>...]>
S<I<at-timestamp>B<@>I<value>[B<:>I<value>...]>
S<[I<timestamp>B<:>I<value>[B<:>I<value>...] ...]>
working with data-sources of type B<COUNTER>, B<DERIVE> or
B<ABSOLUTE>.
+When using negative time values, options and data have to be separated
+by two dashes (B<-->), else the time value would be parsed as an option.
+See below for an example.
+
+When using negative time values, options and data have to be separated
+by two dashes (B<-->), else the time value would be parsed as an option.
+See below for an example.
+
The remaining elements of the argument are DS updates. The order of
this list is the same as the order the data sources were defined in
the RRA. If there is no data for a certain data-source, the letter
=item *
+C<rrdtool update demo3.rrd -- -5:21 N:42>
+
+Update the database file demo3.rrd two times, using five seconds in the
+past and the current time as the update times.
+
+=item *
+
C<rrdtool update --cache /var/lib/rrd/demo3.rrd N:42>
Update the file C</var/lib/rrd/demo3.rrd> with a single data source, using the