[rrd-users] how the average is calculated?
Maicon Stihler
maicon at redix.com.br
Tue Nov 1 14:03:49 MET 2005
Hello,
I have a question about how does rrdtool calculate the averages when it
is graphing. Lets say I have an RRA that stores 1 reading every 5
minutes, when I graph the data with a command line like this:
RRDp::cmd "graph $imagem ",
"DEF:bread=$data:diskr:AVERAGE ",
"DEF:bwrite=$data:diskw:AVERAGE ",
"CDEF:read=bread,4096,* ",
"CDEF:write=bwrite,4096,* AREA:read#${color1}:'Blks Read'
GPRINT:read:LAST:' Atual\\:%8.2lf %s' ",
"GPRINT:read:AVERAGE:' Média\\:%8.2lf %s' GPRINT:read:MAX:' Máximo\\:%
8.2lf %s\\n' ",
"LINE:read#000001: LINE:write#${color2}:'Blks Write' GPRINT:write:LAST:'
Atual\\:%8.2lf %s' ",
"GPRINT:write:AVERAGE:' Média\\:%8.2lf %s' GPRINT:write:MAX:' Máximo\\:%
8.2lf %s\\n' ",
"HRULE:0#000000 -Y -s e-$time -h 120 -w 700 -E";
The values that appear on GPRINT:write:AVERAGE, GPRINT:write:LAST and
GPRINT:WRITE:MAX are actually what?
Im archiving a simple counter, so is it the given counter by seconds?
Thank you
ps. sorry if Im not too clear, my english is not that good
--
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