X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=doc%2Frrdxport.txt;h=53bdb8b1a14b09657e7ba9d56b9fa0c1514bc620;hb=d9822df7ed5e8122cf3a62e4e99678e94007f504;hp=2930d1b98fbe0b508d959e23abcbeb3f0569298b;hpb=d93630a054a49f597224468ee8667af33df510e9;p=pkg-rrdtool.git diff --git a/doc/rrdxport.txt b/doc/rrdxport.txt index 2930d1b..53bdb8b 100644 --- a/doc/rrdxport.txt +++ b/doc/rrdxport.txt @@ -8,8 +8,9 @@ NNAAMMEE SSYYNNOOPPSSIISS rrrrddttooooll xxppoorrtt [--ss|----ssttaarrtt _s_e_c_o_n_d_s] [--ee|----eenndd _s_e_c_o_n_d_s] - [--mm|----mmaaxxrroowwss _r_o_w_s] [----sstteepp _v_a_l_u_e] [DDEEFF::_v_n_a_m_e==_r_r_d::_d_s_-_n_a_m_e::_C_F] - [CCDDEEFF::_v_n_a_m_e==_r_p_n_-_e_x_p_r_e_s_s_i_o_n] [XXPPOORRTT::_v_n_a_m_e[::_l_e_g_e_n_d]] + [--mm|----mmaaxxrroowwss _r_o_w_s] [----sstteepp _v_a_l_u_e] [----jjssoonn] [----ddaaeemmoonn _a_d_d_r_e_s_s] + [DDEEFF::_v_n_a_m_e==_r_r_d::_d_s_-_n_a_m_e::_C_F] [CCDDEEFF::_v_n_a_m_e==_r_p_n_-_e_x_p_r_e_s_s_i_o_n] + [XXPPOORRTT::_v_n_a_m_e[::_l_e_g_e_n_d]] DDEESSCCRRIIPPTTIIOONN The xxppoorrtt function's main purpose is to write an XML formatted @@ -40,6 +41,18 @@ DDEESSCCRRIIPPTTIIOONN ----sstteepp _v_a_l_u_e (default automatic) See rrdgraph documentation. + ----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 xport --daemon unix:/var/run/rrdcached.sock ... + + ----jjssoonn + produce json formated output (instead of xml) + ----eennuummddss The generated xml should contain the data values in enumerated tags. @@ -120,9 +133,18 @@ EEXXAAMMPPLLEE 22 XPORT:out2:"if2 out bytes" \ XPORT:sum:"output sum" +EENNVVIIRROONNMMEENNTT VVAARRIIAABBLLEESS + The following environment variables may be used to change the behavior + of "rrdtool xport": + + 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 RRDXPORT(1) +1.4.8 2013-05-23 RRDXPORT(1)