[rrd-users] getting a date into the comment section in rrdcgi

Nate Campi nate at wired.com
Thu Jul 6 21:43:45 MEST 2000


I'm trying to get the date at the time of graph generation into the
"comment" field of a graph produced by rrdcgi.

In Bourne shell scripts I do this by a simple:
DATE=`date`
...then use it in the comment field like this:
COMMENT:"\s" COMMENT:"$DATE\r"

But with rrdcgi there's no shell to spawn the "date" command. How do I do
this?

-- 
Nate Campi
Operations
Lycos/WiReD Digital


--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list