[rrd-users] Re: how the average is calculated?

Alex van den Bogaerdt alex at ergens.op.het.net
Tue Nov 1 14:35:26 MET 2005

On Tue, Nov 01, 2005 at 11:03:49AM -0200, Maicon Stihler wrote:

> "DEF:bread=$data:diskr:AVERAGE ",
> "CDEF:read=bread,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' ",

> The values that appear on GPRINT:write:AVERAGE, GPRINT:write:LAST and
> GPRINT:WRITE:MAX are actually what?

You have set it up. You know this.

> Im archiving a simple counter, so is it the given counter by seconds?

No. You are archiving a rate.  You are using a counter to get that rate.

You are displaying the rate multiplied by 4096.  If you transfered
100 blocks on average, you transfered 409600 bytes on average.

Alex van den Bogaerdt

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