X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdlast.pod;h=f0eaad0c7d86ed761f738f977db35fad89c5576d;hb=13d7a72e157462f61aa90d3352479c0b4180e069;hp=ecec65a949df966f8b416259ec4bf0548249e0bc;hpb=ac630adec930653637199258efd99024d49325c7;p=rrdtool.git diff --git a/doc/rrdlast.pod b/doc/rrdlast.pod index ecec65a..f0eaad0 100644 --- a/doc/rrdlast.pod +++ b/doc/rrdlast.pod @@ -22,13 +22,18 @@ The name of the B that contains the data. 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. To -specify a UNIX domain socket use the prefix C, see example below. Other -addresses are interpreted as normal network addresses, i.Ee. IPv4 or IPv6 -addresses in most cases. +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 last --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd +=item B<--noflush> + +If the L daemon is being used, then omit the flush normally +send before returning the last update. If you add this option, you get the +last time the file on disk was updated; if you have relatively low cache times +and are calling this frequently it will preserve the caching benefit + =back =head1 ENVIRONMENT VARIABLES @@ -49,6 +54,6 @@ line argument takes precedence. =head1 AUTHOR Russ Wright - +Daemon support added by Steve Shipway