[rrd-users] Re: printing date and time

Alex van den Bogaerdt alex at ergens.op.het.net
Tue May 16 22:30:38 MEST 2006


On Tue, May 16, 2006 at 10:03:31AM -0700, Christine Knutson wrote:

> I would like to include the date and time in legend of my graph that 
> would show either the date and time of the last update or when the graph 
> was plotted.  I think there must be a way to do this but I have not 
> figured it out.  Can anyone tell me how?

Don't do this inside RRDtool.  Do this from the calling program.

An example for the bash shell:

rrdtool graph test.png --title "Created $(date +%Y-%m-%d\ %H:%M:%S)" "LINE4:100#0000FF"

-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

--
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