[rrd-users] line breaks with shared rrd
Augusto Castelan Carlson
carlson at npd.ufsc.br
Tue Sep 16 15:41:45 MEST 2003
Hi!
I did a Perl script (for web) to draw some graphs. I'm using the 'shared
rrd' library module and trying to get line breaks at the comment or
gprint, but it's not working. I looked at the archives, man page and
examples, but it did not help. I tried using \n and \\n. What is wrong?
RRDs::graph ("img.gif","-s","-86400",
"-v","bits por segundo","-t","Política qos-policy",
"-w","500","-h","200",
"DEF:mibMatchany=Matchany166-5.rrd:msinbytes:AVERAGE",
"CDEF:bmibMatchany=mibMatchany,8,*",
"LINE2:bmibMatchany#006699: Match any in",
"COMMENT:Max:",
"GPRINT:bmibMatchany:MAX:%2.2lf%s \n", <===
"COMMENT: \n", <===
"COMMENT:avg:",
"GPRINT:bmibMatchany:AVERAGE:%2.2lf%s",
"COMMENT:Last:",
"GPRINT:bmibMatchany:LAST:%2.2lf%s");
linux RH9, perl 5.8.0 and rrdtool 1.0.45
Thank you!
Augusto
--
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