[rrd-users] Re: Monthly totals...

Alex van den Bogaerdt alex at ergens.op.het.net
Sun Jan 5 01:24:30 MET 2003

On Sat, Jan 04, 2003 at 11:23:10PM +0100, Casper Kamp wrote:

> Sorry that this question might have been asked before, but after
> browsing the archive, I still couldn't find my answer.

It should be there ...

> I like to get monthly totals of some traffic that we collect with cacti
> in RRD database. It might be nice use them as GPRINTS, but I also like
> to get them as plain tekst, to let some scripts calculate with them.

total traffic equals average per second multiplied with the number of
seconds lapsed:    amount = rate * time.

Reasoning:  avg is in bytes/sec.  Multiply {bytes/sec} by {sec}
and get {bytes}.

Printing to text is as simple as using PRINT in stead of GPRINT.

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.


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