[rrd-users] Question using VDEF

Peter Mueller peter.o.mueller at gmx.de
Tue Jul 24 19:46:43 CEST 2007


Hello Alex,

thanks for this hint. It worked as you suggested.

Regards,
Peter


Am 21.07.2007 um 01:00 schrieb Alex van den Bogaerdt:

> On Fri, Jul 20, 2007 at 11:29:44PM +0200, Peter Mueller wrote:
>
>> This does not work:
>> VDEF:value=mydist,LAST
>> VDEF:distpercent=221,value,-,100,*,121,/
>> GPRINT:distpercent:"%2.2lf"
>>
>> The problem is in the second line when I calculate distpercent.
>> How can I do this? Any other way?
>
> Try cdef distpercent, and then taking the last value using vdef.
>
> HTH
> -- 
> Alex van den Bogaerdt
> http://www.vandenbogaerdt.nl/rrdtool/
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

--
Peter Mueller
peter.o.mueller at gmx.de


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070724/eec01133/attachment.html 


More information about the rrd-users mailing list