[rrd-users] Re: GPRINT the difference between Max and Min

Alex van den Bogaerdt alex at ergens.op.het.net
Mon May 22 21:12:41 MEST 2006


On Mon, May 22, 2006 at 02:05:05PM -0400, John Barber wrote:

> VDEF:totalmax=total,MAXIMUM                         --I'm not sure if you
> can use MAXIMUM with a CDEF or not

I think you can.

> -- option 1
> CDEF:totaldev=item0,POP,totalmax,totalmin,-    --a CDEF has to have at least
> 1 DEF or CDEF so I added 1 and used  POP to get rid of it

Works.

> GPRINT:totaldev:%6.2lf%s\c>                            --can't GPRINT a CDEF

Yes you can.  Use the original format, with 'AVERAGE' (or 'MAX', or 'MIN').

> --  option 2
> VDEF:totaldev=totalmax,totalmin,-                     -- Can't use VDEFs in
> a VDEF RPN?

No, not at this time.  Sorry, development hasn't progressed yet.


-- 
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

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