Code

fix warning: "__STRICT_ANSI__" is not defined warning patch by Gilles Esp
[rrdtool-all.git] / tutorial / emanics / rrd-exercises.tex
index 837735f99949c1e36823a6b1e62525ed6772bd54..8ad84505931a7d4632d26772bfb0549f6ccb2a5b 100644 (file)
@@ -40,7 +40,7 @@ to everyone who sent in their work.
 \item Read the RRDtool Manual on the web site or the unix manual
   pages.\\ \cmd{http://oss.oetiker.ch/rrdtool}
 \item On the computers you can find rrdtool in \cmd{/usr/local/rrdtool-1.2.23}
-  To use it, update your path accordingly:
+  To use it, update your path accordingly:\\
 \cmd{RH=/usr/local/rrdtool-1.2.23; export PATH=\$RH/bin:\$PATH}
 \item Ask me!
 \end{itemize}
@@ -99,8 +99,12 @@ Round Robin Database. Use the command line tool\\
   The RRD should store the data for 24 hours at 5 minute resolution
   and for a month at one hour resolution. For the one hour resolution
   you want to keep both the average and the 5 minute maximum data.
+
 \end{work}
 
+Use \cmd{rrdtool info database.rrd} to see the structure of the rrd file you
+just created.
+
 \ex{Coupling of Data Values}
 
 All values stored in a single RRD must be updated synchronously. Also,
@@ -127,7 +131,6 @@ add
 \cmd{use lib \$ENV\{RH\}.'/lib/perl';}\\
 \cmd{use RRDs;}
 
-
 to the very beginning of your script.
 
 \begin{work}
@@ -158,6 +161,7 @@ traffic of your workstation. This file will contain new data each time you read
   update.
 \end{work}
 
+Use \cmd{rrdtool dump file.rrd} what data is stored in the rrd file.
 \section{Creating graphs}
 
 \ex{Line Graphs}