fewer double frees ... -- slamb slamb.org
[rrdtool.git] / doc / rrdgraph_examples.pod
index b5280ae..e743c9f 100644 (file)
@@ -30,14 +30,14 @@ ready because comments are intermixed with the examples.
 
     DEF:ds0=/home/rrdtool/data/router1.rrd:ds0:AVERAGE
     DEF:ds1=/home/rrdtool/data/router1.rrd:ds1:AVERAGE
-    VDEF:ds0max=ds0,MAXIMUM,8,*
-    VDEF:ds0avg=ds0,AVERAGE,8,*
-    VDEF:ds0min=ds0,MINIMUM,8,*
-    VDEF:ds0pct=95,ds0,PERCENTILE,8,*
-    VDEF:ds1max=ds1,MAXIMUM,8,*
-    VDEF:ds1avg=ds1,AVERAGE,8,*
-    VDEF:ds1min=ds1,MINIMUM,8,*
-    VDEF:ds1pct=95,ds1,PERCENTILE,8,*
+    VDEF:ds0max=ds0,MAXIMUM
+    VDEF:ds0avg=ds0,AVERAGE
+    VDEF:ds0min=ds0,MINIMUM
+    VDEF:ds0pct=ds0,95,PERCENT
+    VDEF:ds1max=ds1,MAXIMUM
+    VDEF:ds1avg=ds1,AVERAGE
+    VDEF:ds1min=ds1,MINIMUM
+    VDEF:ds1pct=ds1,95,PERCENT
 
 Note: consolidation occurs here.
 
@@ -48,10 +48,7 @@ Note: 10 spaces to move text to the right
 
     COMMENT:"          "
 
-=for comment
-XXX I don't understand the following; Fritz
-
-Note: three times size == 11 chars, "###.## xBps"
+Note: the column titles have to be as wide as the columns
 
     COMMENT:"Maximum    "
     COMMENT:"Average    "
@@ -107,8 +104,8 @@ Note: the second line gets stacked on top of the first one
 =head2 Time ranges
 
     Last four weeks: --start end-4w --end 00:00
-    January 2001:    --start 200101010000 --end start+31d
-    January 2001:    --start 200101010000 --end 200102010000
+    January 2001:    --start 20010101 --end start+31d
+    January 2001:    --start 20010101 --end 20010201
     Last hour:       --start end-1h
     Last 24 hours:   <nothing at all>
     Yesterday:       --end 00:00