[rrd-users] Re: Getting number of bytes transfered from an existing RRD?

Alex van den Bogaerdt alex at ergens.op.het.net
Sat Jun 7 15:28:41 MEST 2003


On Sat, Jun 07, 2003 at 02:30:37AM +0200, Mats Pettersson wrote:

>                                                              Now i would
> like to sum up how much data (in bytes) that flow through in and out on that
> interface each week.

> What i can't figure out is how to get the difference between "now"
> minus -start -168h for example, with the RRD i'm now using.

You need not do that.

If the AVERAGE is per second, and if you know there are 168*3600 seconds
in one week, the total equals the average times 168*3600.  That is easely
done using a CDEF and (G)PRINT.  Also see the list archives.

> Am i totaly out of track here? Should i pick up stamp collection instead? :)

You *are* asking for it ... :)

-- 
Much of what looks like rudeness in hacker circles is not intended to give
offence. Rather, it's the product of the direct, cut-through-the-bullshit
communications style that is natural to people who are more concerned about
solving problems than making others feel warm and fuzzy.

http://www.tuxedo.org/~esr/faqs/smart-questions.html

--
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