[rrd-users] 1.0.40: PREV(x) works as expected.

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Mon Oct 14 06:26:18 MEST 2002


Dear Ladies and Gentlemen,

I am writing to say that the PREV(x) facility works as I expected it to 
in the new 1.0.40 release of rrdtool.

Eg given an RRD named 'successes' with GAUGE data whose values are 
(5, 10, 15, 20, 25) 

and DEFS and CDEFS like

DEF:successes=some_path.rrd:successes:AVERAGE
CDEF:prev_successes=PREV(successes)
CDEF:delta_succ=successes,prev_successes,-

then the values of delta_successes are

(5, 5, 5, 5, 5).

Yours sincerely.

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.

--
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
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list