[rrd-users] Empty sections in AREA on graph

Alex van den Bogaerdt alex at vandenbogaerdt.nl
Fri Aug 29 06:36:24 CEST 2014


----- Original Message ----- 
From: "Steve Shipway" <s.shipway at auckland.ac.nz>
To: "list rrdtool" <rrd-users at lists.oetiker.ch>
Sent: Friday, August 29, 2014 12:06 AM
Subject: Re: [rrd-users] Empty sections in AREA on graph

> This gives me the idea for some new RPN functions in RRDtool --
>
> ROUND -- pops top element from stack, replaces with closest integer (to go
> with the existing FLOOR and CEIL)

I believe there are a couple conventions to choose from.
What is the closest integer to 5.5 ?
And what is the closest integer to 6.5 ?
Some will say the answer is 6 to both questions, others will say 6 and 7.

> x,a,b,INRANGE -- push TRUE onto stack if a<=x<=b, FALSE otherwise(or call 
> it
> 'BETWEEN'?)

You can probably share a lot of code with LIMIT.



More information about the rrd-users mailing list