X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2Frrdfetch.txt;h=88e5ca71d638414737f823b472d90ec5ca182744;hb=fd248121a4d1324289fcb6d0429613c6708cd559;hp=9e00cbc4d18f721f4b94d8b15cb11d53b79c50cc;hpb=51c3d3fb997c22e1ee828470413f1e84989e1f6c;p=pkg-rrdtool.git diff --git a/doc/rrdfetch.txt b/doc/rrdfetch.txt index 9e00cbc..88e5ca7 100644 --- a/doc/rrdfetch.txt +++ b/doc/rrdfetch.txt @@ -7,7 +7,7 @@ NNAAMMEE SSYYNNOOPPSSIISS rrrrddttooooll ffeettcchh _f_i_l_e_n_a_m_e _C_F [----rreessoolluuttiioonn|--rr _r_e_s_o_l_u_t_i_o_n] - [----ssttaarrtt|--ss _s_t_a_r_t] [----eenndd|--ee _e_n_d] + [----ssttaarrtt|--ss _s_t_a_r_t] [----eenndd|--ee _e_n_d] [----ddaaeemmoonn _a_d_d_r_e_s_s] DDEESSCCRRIIPPTTIIOONN The ffeettcchh function is normally used internally by the graph function to @@ -39,6 +39,15 @@ DDEESSCCRRIIPPTTIIOONN STYLE TIME SPECIFICATION section for a detailed explanation of how to specify the end time. + ----ddaaeemmoonn _a_d_d_r_e_s_s + Address of the rrdcached daemon. If specified, a "flush" + command is sent to the server before reading the RRD files. + This allows rrrrddttooooll 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 --ll option in the rrdcached manual. + + rrdtool fetch --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd AVERAGE + RREESSOOLLUUTTIIOONN IINNTTEERRVVAALL In order to get RRDtool to fetch anything other than the finest resolution RRA bbootthh the start and end time must be specified on @@ -218,9 +227,18 @@ DDEESSCCRRIIPPTTIIOONN _1_9_9_7_0_7_0_3 _1_2_:_4_5 -- 12:45 July 3th, 1997 (my favorite, and its even got an ISO number (8601)). +EENNVVIIRROONNMMEENNTT VVAARRIIAABBLLEESS + The following environment variables may be used to change the behavior + of "rrdtool fetch": + + RRRRDDCCAACCHHEEDD__AADDDDRREESSSS + If this environment variable is set it will have the same effect as + specifying the "--daemon" option on the command line. If both are + present, the command line argument takes precedence. + AAUUTTHHOORR Tobias Oetiker -1.3.8 2008-03-15 RRDFETCH(1) +1.4.3 2008-09-25 RRDFETCH(1)