X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdcached.pod;h=142908181281ba69b9c1090b1510da1240348dd7;hb=40e7acb373399f3e1bfeabe9e14e36aa5117e8be;hp=92c65ccfb472a511a3ad49c15ed6af960e731e19;hpb=2c3d7019042a3bee86d973fb97e10e4cc3ff528e;p=rrdtool.git diff --git a/doc/rrdcached.pod b/doc/rrdcached.pod index 92c65cc..1429081 100644 --- a/doc/rrdcached.pod +++ b/doc/rrdcached.pod @@ -23,30 +23,47 @@ work with up-to-date data. =item B<-l> I
Tells the daemon to bind to I
and accept incoming connections on that -socket. If I
begins with C, everthing following that prefix is +socket. If I
begins with C, everything following that prefix is interpreted as the path to a UNIX domain socket. Otherwise the address or node name are resolved using L. +If the B<-l> option is not specified the default address, +C, will be used. + =item B<-w> I -Data is written to disk every I seconds. +Data is written to disk every I seconds. If this option is not +specified the default interval of 300Eseconds will be used. =item B<-f> I Every I seconds the entire cache is searched for old values which are written to disk. This only concerns files to which updates have stopped, so -setting this to a high value, such as 3600 seconds, is acceptable in most -cases. - -=back - -=head1 BUGS - -=over 4 - -=item - -Base directory is currently hard coded. The daemon will chdir to C. +setting this to a high value, such as 3600Eseconds, is acceptable in most +cases. This timeout defaults to 3600Eseconds. + +=item B<-p> I + +Sets the name and location of the PID-file. If not specified, the default, +C/run/rrdcached.pid> will be used. + +=item B<-b> I + +The daemon will change into a specific directory at startup. All files passed +to the daemon, that are specified by a B path, will be interpreted +to be relative to this directory. If not given the default, C, will be +used. + + +------------------------+------------------------+ + ! Command line ! File updated ! + +------------------------+------------------------+ + ! foo.rrd ! /tmp/foo.rrd ! + ! foo/bar.rrd ! /tmp/foo/bar.rrd ! + ! /var/lib/rrd/foo.rrd ! /var/lib/rrd/foo.rrd ! + +------------------------+------------------------+ + Paths given on the command line and paths actually + updated by the daemon, assuming the base directory + "/tmp". =back