]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
add --template documentation
authorPeter Stamfest <peter@stamfest.at>
Tue, 2 Sep 2014 21:14:49 +0000 (23:14 +0200)
committerPeter Stamfest <peter@stamfest.at>
Tue, 2 Sep 2014 21:56:24 +0000 (23:56 +0200)
doc/rrdcreate.pod

index 9ad2de378579062f4deda0b4b39e12eb1b917a56..eaf6653ae99e190938201862a2cf93a66ace46d8 100644 (file)
@@ -7,6 +7,7 @@ rrdcreate - Set up a new Round Robin Database
 B<rrdtool> B<create> I<filename>
 S<[B<--start>|B<-b> I<start time>]>
 S<[B<--step>|B<-s> I<step>]>
+S<[B<--template>|B<-t> I<template-file>]>
 S<[B<--source>|B<-r> I<source-file>]>
 S<[B<--no-overwrite>]>
 S<[B<--daemon> I<address>]>
@@ -59,6 +60,16 @@ the B<-l> option in the L<rrdcached> manual.
 
  rrdtool create --daemon unix:/var/run/rrdcached.sock /var/lib/rrd/foo.rrd I<other options>
 
+=head2 S<[B<--template>|B<-t> I<template-file>]>
+
+Specifies a template B<RRD> file to take step, DS and RRA definitions from. This allows to 
+base the structure of a new file on some existing file. The data of the template
+file is NOT used for pre-filling, but it is possible to specify the same file as a 
+source file (see below).
+
+Additional DS and RRA definitions are permitted, and will be added to those taken
+from the template.
+
 =head2 B<--source>|B<-r> I<source-file>
 
 One or more source B<RRD> files may be named on the command line. Data from these