[rrd-users] rpn question

R Dicaire kritek at gmail.com
Sat May 10 19:22:53 CEST 2008


Hi folks, I have the following RPN statement, seems to work but I'm
requesting clarification on its output.

CDEF:apacherpn=apache_bytes,20000,GT,apache_bytes,10,/,apache_bytes,IF

If apache_bytes is say, 30000, is the output then 3000 or 21000?
My aim was to have all values above 20000 be divided by 10, but the
20000 floor remain 20000.
So 30000 would be displayed as 21000. Is this even possible?
Or would 30000 be displayed as 3000?

-- 
aRDy Music and Rick Dicaire present:
http://www.ardynet.com
http://www.ardynet.com:9000/ardymusic.ogg.m3u



More information about the rrd-users mailing list