X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=doc%2Frrdfetch.pod;h=0052aa6513b1a82b351d5e705cc5fd185f78d090;hp=51b5ccd99c8441f8f7f12021836ba22a902ccc56;hb=22129bb15a8ad204cf8a5e88e8834ec0b51908c0;hpb=5fc7ff89bdbced9c593c566fea9840a269935dcd diff --git a/doc/rrdfetch.pod b/doc/rrdfetch.pod index 51b5ccd..0052aa6 100644 --- a/doc/rrdfetch.pod +++ b/doc/rrdfetch.pod @@ -8,6 +8,7 @@ B B I I S<[B<--resolution>|B<-r> I]> S<[B<--start>|B<-s> I]> S<[B<--end>|B<-e> I]> +S<[B<--daemon> I
]> =head1 DESCRIPTION @@ -48,6 +49,15 @@ the end of the time series in seconds since epoch. See also AT-STYLE TIME SPECIFICATION section for a detailed explanation of how to specify the end time. +=item B<--daemon> I
+ +Address of the L daemon. If specified, a C command is sent +to the server before reading the RRD files. This allows B to return +fresh data even if the daemon is configured to cache values for a long time. +For a list of accepted formats, see the B<-l> option in the L manual. + + rrdtool fetch --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd AVERAGE + =back =head2 RESOLUTION INTERVAL @@ -257,6 +267,22 @@ I<931225537> -- 18:45 July 5th, 1999 I<19970703 12:45> -- 12:45 July 3th, 1997 (my favorite, and its even got an ISO number (8601)). +=head1 ENVIRONMENT VARIABLES + +The following environment variables may be used to change the behavior of +Cfetch>: + +=over 4 + +=item B + +If this environment variable is set it will have the same effect as specifying +the C<--daemon> option on the command line. If both are present, the command +line argument takes precedence. + +=back + =head1 AUTHOR -Tobias Oetiker +Tobias Oetiker Etobi@oetiker.chE +