[rrd-users] Printing a single simple average value

Alex van den Bogaerdt alex at ergens.op.het.net
Tue Jun 17 13:16:40 CEST 2008

On Tue, Jun 17, 2008 at 07:06:53AM -0400, Ruttenberg, Tanya wrote:
> Thanks Alex!  It seems that the only difference between mine and yours
> was you specified an output file.  Here's the final that worked
> rrdtool graph /tmp/file.png -s "now-6 weeks" -e "now" \
> DEF:ds0=router1.rrd:ifInOctets:AVERAGE \
> VDEF:ds1=ds0,AVERAGE \
> PRINT:ds1:%20.2lf%s
> Yup. That's the only difference. Shrug.

I guess "-" is seen as an empty option, not a filename.

If you are afraid an existing file is written to despite that you
do not create a graph, try /dev/null as output file.


More information about the rrd-users mailing list