Hi everybody, just trying to "simply" sum values eg) tot =0 tot= tot+ value at time t tot = tot + value at time t+1 and so on
seems so easy, but no result with that kind of code: ... DEF:val=$RRDFILE:val:MAX CDEF:tot1=tot,PREV,UN,0,tot,IF // not sure for the syntax, anyway .. always incorrect ! CDEF:tot= tot1,val,+ ... in other words , did anybody test the use of PREV or PREV(vname) as described in the rrdgraph manual or http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/cdeftutorial.html or how to use it with unset values (not in the DEF declaration) ? Many Thanks for the help. SO long . -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
