[rrd-users] Re: Problem with comment in RRDtool 1.2

Serge Maandag serge.maandag at staff.zeelandnet.nl
Fri Dec 30 15:35:38 MET 2005


> Is there a easy and good way the create the date and time as 
> comment in 1.2?? I have used to search but did't find anything.

Try:

$time = localtime(time);
$time =~ s/:/\\:/g; 
"COMMENT:Generated on\: $time\\r";

Serge.

-------------
Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

-------------
For the content of this e-mail message and its attachment(s) the following disclaimer applies: http://www.zeelandnet.nl/disclaimer.php

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