_R_R_D_F_L_U_S_H_C_A_C_H_E_D(1)                    rrdtool                   _R_R_D_F_L_U_S_H_C_A_C_H_E_D(1)

NNAAMMEE
     rrdflushcached - Flush the values for a specific RRD file from memory.

SSYYNNOOPPSSIISS
     rrrrddttooooll fflluusshhccaacchheedd [----ddaaeemmoonn|--dd _a_d_d_r_e_s_s] _f_i_l_e_n_a_m_e [_f_i_l_e_n_a_m_e ...]

DDEESSCCRRIIPPTTIIOONN
     The fflluusshhccaacchheedd function connects to rrdcached, the RRD caching daemon, and
     issues a "flush" command for the given files. The daemon will put the files
     to the head of the update queue so they are written "soon". The status will
     be  returned  only  after  the  files' pending updates have been written to
     disk.

     _f_i_l_e_n_a_m_eThe name(s) of the RRRRDD file(s) that are to be written to disk.

     ----ddaaeemmoonn|--dd _a_d_d_r_e_s_s
             Address of  the  rrdcached  daemon.  If  not  specified,  the  RRD‐
             CACHED_ADDRESS environment variable must be set (see below).  For a
             list  of  accepted formats, see the --ll option in the rrdcached man‐
             ual.

              rrdtool flushcached --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd

EENNVVIIRROONNMMEENNTT VVAARRIIAABBLLEESS
     The following environment variables may be used to change the  behavior  of
     "rrdtool flushcached":

     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
     Florian Forster <octo at verplant.org>

1.10.0                             2026-05-23                  _R_R_D_F_L_U_S_H_C_A_C_H_E_D(1)
