[rrd-users] Re: VDEF question

Alex van den Bogaerdt alex at ergens.op.het.net
Thu May 19 23:15:53 MEST 2005


On Thu, May 19, 2005 at 10:08:21PM +0200, pluap at xs4all.nl wrote:

> With 1.2.8, I can create a 95% line using the line
> "VDEF:out95=outb,95,PERCENT".
> 
> This line is the 95% percentile from the output.
> 
> However, whatever I try to multiply the result by -1, the system returns
> an errormessage like ERROR: Unknown function string '95,PERCENT,-1,*' in
> VDEF 'out95'. This message is very persistent.. :o)

You cannot do this in a VDEF statement.  You can in a CDEF.
The future may bring more functionality for VDEF; right now it
is limited to the commands specified, not full RPN.

> What do I need to do to get a VDEF as above multiplied by -1?

Try this:
   CDEF:reverse=out95,-1,*
it should work, or maybe slightly altered (didn't try it myself right now)

HTH
Alex

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list