[rrd-users] Re: PREV fails?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Mon Jan 3 09:41:58 MET 2000


> *> I'm trying:
> *>     CDEF:p=active,PREV,-
> *>     AREA:p#0000FF:previous
> *> (using either 1.0.8 or 1.0.9)
> *> 
> *> >From the manual I understand that this should:
> *> 
> *> 1) push the value of "active".
> *> 2) push the previous value of ACTIVE or, if this is unknown, UNKN.
> *> 3) subtract the second from the first, leaving one value on the stack.
> *> 
> *> Unfortunately the only value I get is UNKN and yes, I'm sure "active"
> *> is not unknown for most of the time.
> 
> *> Where do I go wrong?
> 
> sonds fine to me ... I must say I have not tested the pREV funciton this was
> contributed ... how about a 'demo script :-)' ... cheers
> tobi
> 
Duh, it seems that the outcome of PREV is not related to the DS.  It is related
to the outcome of the previous CDEF value.
I seem to have misunderstood the manual.

Can somebody confirm this please?

regards,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+

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



More information about the rrd-users mailing list