Billy Cook wrote: > > Hi, > Does anyone know how to calculate the total value of a data point over a > period of time? I searched the list archive and was only able to find a VDEF > TOTAL command that appears to be no longer supported.
s/no longer/not yet/ Have a look at the 1.1.x beta. However, total amount of bytes can be calculated so: rate * time. If you know the time (because you set it using --start and --end) you can take the average and compute the total: --end now --start end-86400s DEF:ds0=/path/to/file.rrd:ds0:AVERAGE CDEF:sum=ds0,86400,* PRINT:sum:AVERAGE:"total = %6.2lf" This doesn't take unknown intervals into consideration. HTH -- __________________________________________________________________ / [EMAIL PROTECTED] [EMAIL PROTECTED] \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
