X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdgraph_data.src;h=f5c1114460a87d0d701b7f2131c71a5dedfe78d9;hb=85531c9fe3758d08f782503f888fff12b7c002f5;hp=88ac260674d9a5acf818b21b8bbf0427da3bd807;hpb=d828f3eccac8dbad7bfc14812e406377669baaa4;p=rrdtool.git diff --git a/doc/rrdgraph_data.src b/doc/rrdgraph_data.src index 88ac260..f5c1114 100644 --- a/doc/rrdgraph_data.src +++ b/doc/rrdgraph_data.src @@ -2,7 +2,7 @@ =head1 SYNOPSIS -BIvnameE>=IrrdfileE>:Ids-nameE>:ICFE>[:step=IstepE>][:start=ItimeE>][:end=ItimeE>] +BIvnameE>=IrrdfileE>:Ids-nameE>:ICFE>[:step=IstepE>][:start=ItimeE>][:end=ItimeE>][:reduce=IBE>] B:I=I @@ -18,7 +18,7 @@ a language called B which is described in its own manual page. =head1 DEF -BIvnameE>=IrrdfileE>:Ids-nameE>:ICFE>[:step=IstepE>][:start=ItimeE>][:end=ItimeE>] +BIvnameE>=IrrdfileE>:Ids-nameE>:ICFE>[:step=IstepE>][:start=ItimeE>][:end=ItimeE>][:reduce=IBE>] This command fetches data from an B file. The virtual name I can then be used throughout the rest of the script. By @@ -39,6 +39,11 @@ a resolution of 1800 seconds per B, you should create an image with width 400 and time span 400*1800 seconds (use appropriate start and end times, such as C<--start end-8days8hours>). +If consolidation needs to be done, the B of the B specified in the +B itself will be used to reduce the data density. This behaviour can +be changed using C<:reduce=IBE>>. This optional parameter +specifies the B to use during the data reduction phase. + Example: DEF:ds0=router.rrd:ds0:AVERAGE @@ -56,8 +61,7 @@ functions used, have a value and a time component. When you use this I in another B expression, you are effectively inserting its value just as if you had put a number at that place. The variable can also be used in the various graph and print -elements. I [ Everywhere you can insert a -number, you can also use the B (provided that it is set of course) ] +elements. Example: C