[rrd-users] COMMENT

Kant, D (Dave) D.Kant at rl.ac.uk
Fri Dec 8 15:44:58 MET 2006

 I'm trying to get the date as a Comment on my graphs but cannot get it to work.
 Any suggestions?
 Thanks, Dave

/usr/bin/rrdtool graph $dir/rrd/ExecutingSiteCount_day.png \
--title="Number of CEs" --start "-1day" --width 250 \
DEF:data=$dir/rrd/ExecutingSiteCount.rrd:LcgRecordCount:AVERAGE \
LINE3:data#FF0000:"Distinct Sites:" \
GPRINT:data:MAX:'= %5.0lf entries \n' \
COMMENT:"Last Build `date +\"%b %d %H:%M:%S %Y\"`\n"

However, I get an error

ERROR: Garbage ':42:29 2006\n' after command:
COMMENT:Last Build Dec 08 14:42:29 2006\n

Dr Dave Kant
CCLRC eScience Department                      Phone: (+44)|(0) 1235 778178
Rutherford Appleton Laboratory                Fax:    (+44)|(0) 1235 446626
Chilton, Didcot, Oxon, OX11 0QX, UK         Email:  D.Kant at rl.ac.uk

Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the rrd-users mailing list