[rrd-users] Re: Carriage return problem in "GPRINT" function

Olivier Nicole on at cs.ait.ac.th
Thu Feb 14 06:51:54 MET 2002


Jin,

Try a double back-slash:

 "GPRINT:e:LAST:Cur %5.1lf dB\\n",

It works in Perl (at least for me).

Olivier

>I'm trying to print MAX/MIN/AVERAGE data of router traffic into graph
>(just like MRTG), but the Carriage Return ('\n') doesn't work in Perl
>script.

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