[rrd-users] Re: Newline in a comment

Serge Maandag serge.maandag at staff.zeelandnet.nl
Fri Apr 11 13:48:10 MEST 2003


Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
This code produces the attached image. It features what you describe but
I don't quite know why :)
=20
DEF:in0=3D/path/database.rrd:ds0:AVERAGE
DEF:out0=3D/path/database.rrd:ds1:AVERAGE
DEF:maxin0=3D/path/database.rrd:ds0:MAX
DEF:maxout0=3D/path/database.rrd:ds1:MAX
CDEF:in=3Din0,8,*
CDEF:out=3Dout0,8,*
CDEF:maxin=3Dmaxin0,8,*
CDEF:maxout=3Dmaxout0,8,*
CDEF:in95=3Din,0,*,1504619,+
CDEF:out95=3Din,0,*,5161437,+
CDEF:bytesin=3Din,31536000,*,8,/
CDEF:bytesout=3Dout,31536000,*,8,/
COMMENT:           Average      Maximum      Current         95 %
Bytes/24h\n
AREA:in#00cc00:In=20
GPRINT:in:AVERAGE:%6.2lf %sbps
GPRINT:in:MAX:%6.2lf %sbps
GPRINT:in:LAST:%6.2lf %sbps
GPRINT:in95:AVERAGE:%6.2lf %sbps
GPRINT:bytesin:AVERAGE:%6.2lf %sByte\n
LINE1:out#0000ff:Out
GPRINT:out:AVERAGE:%6.2lf %sbps
GPRINT:out:MAX:%6.2lf %sbps
GPRINT:out:LAST:%6.2lf %sbps
GPRINT:out95:AVERAGE:%6.2lf %sbps
GPRINT:bytesout:AVERAGE:%6.2lf %sByte\n
LINE1:in95#33aa33:95% in         =20
LINE1:out95#3333ff:95% out=20

Serge.

-----Original Message-----
From: John-Paul Delaney [mailto:John-Paul.Delaney at wfp.org]=20
Sent: Friday, April 11, 2003 1:12 PM
To: Serge Maandag
Subject: RE: [rrd-users] Newline in a comment



Thanks a lot Serge (and Frank) for your clear answer.  That's helped me
a lot.  =20
Is it possible to have a string left-aligned and another string
right-aligned on the same line?=20

Regards=20
/j-p.=20






-- Attached file removed by Ecartis and put at URL below --
-- Type: image/gif
-- Desc: line-week.gif
-- Size: 22k (23197 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/line-week.gif


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