[rrd-users] PREV not working ?

Bruce Heller bheller at bheller.com
Mon Jan 13 12:31:32 MET 2003


First, hello to everybody since I'm new to this list.
Thanks to all the people that made RRDTool available today.

Now here is my question :
I was trying to use the PREV function of the graph's CDEF function but it
doesn't seems to work... Does anyone have tryed to use it yet ?

Here is the command I'm trying to use :
rrdtool graph connection.png
--start 1042196400
--end 1042200000
-w 800
-h 600
-a PNG
DEF:connection=connection.rrd:connection:AVERAGE
DEF:connection2=connection.rrd:connection2:AVERAGE
CDEF:connection0=connection,300,*
CDEF:connection1=connection2,300,*
CDEF:graph=PREV,connection,+,connection2,-,300,*
LINE3:connection0#0000FF
LINE3:connection1#FF00FF
LINE3:graph#FF0000

Thanks in advance !

A+++
Bruce
http://www.bheller.com

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