[rrd-users] CDEF problem with PREV

Adrian Ariza harpian at ciudad.com.ar
Wed Jan 28 16:50:43 MET 2004


Hello,

I'm trying to use PREV in a CDEF like this:
rrdtool graph - -w 500 -h 120 -a PNG --start -86400
DEF:out1=asd.rrd:IN:AVERAGE  CDEF:prev1=PREV(out1) CDEF:time=TIME
CDEF:prevtime=PREV(time) CDEF:derivate=out1,prev1,-,time,prevtime,-,/
LINE3:derivate#000077:derivate LINE1:out1#007700:'raw data'

When I run it I recive
syntax error near unexpected token `('

I'm Using RRDtool 1.0.45
What is my mistake?
Thanks

PD: Sorry for my english

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