[rrd-users] Re: Display and all...

Tobias Oetiker oetiker at ee.ethz.ch
Thu Mar 2 23:58:49 MET 2000


Today you sent me mail regarding Re: [rrd-users] Display and all... :

*> On Thursday, March 2, Tobias Oetiker wrote:
*> > *> at a certain position onto the stack (relative to current
*> > *> position, which is signified by the number 0), you could
*> > *> implement running averages using the CDEF/rpn construct.
*> > 
*> > this is already possible with the PREV operator ... 
*> > does this make sense ?
*> 
*> Hmm, PREV is ok for the -1 case, but I can't see how to use
*> it to access -2 or even -10...

if you do

PREV,0.1,*,+

you have a sort of running average ... but you are right the a[x]
idea is better for running average ... if you send a clean patch I
will be happy to add this ....

cheers
tobi
*> 
*> --Toby.
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker

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