[rrd-users] AW: Division Operator in CDEF giving error

dehrentr at debis.com dehrentr at debis.com
Tue Nov 7 11:00:35 MET 2000


Hi,

just try
	CDEF:val2=val1,100,/
or 
	"CDEF:val2=val1,100,/"

This worked fine with my graph.

Diana

-----Ursprüngliche Nachricht-----
Von: Janardhan_Madabattula [mailto:Janardhan at Satyam.com]
Gesendet: Montag, 6. November 2000 16:32
An: 'rrd-users at list.ee.ethz.ch'
Betreff: [rrd-users] Division Operator in CDEF giving error


Hi,

      D:\INETPUB\wwwroot\mrtg>d:\rrd\perl-shared\t\rrdtool graph  jan.gif
DEF:val1=208
.199.59.1_23.rrd:ds0:AVERAGE CDEF:val2=val1,100,DIV PRINT:val2:MAX:"8-hour
maxim
um %6lf\n" PRINT:val1:AVERAGE:"8-hour average %6.2lf\n"
PRINT:val1:MIN:"8-hour m
inimum %6.2lf\n"
ERROR: invalid rpn expression 'val1,100,DIV'



Please let me know the exact operator for Divison.

Thanks &Regards,
Janardhan


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


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