Re: [rrd-users] A few Newbie questions

2008-02-22 Thread spirit
Erik de Mare oezie.org> writes: > push(@data,"CDEF:totalin=in,UN,0,in,$span,*,IF"); > push(@data,"CDEF:totalout=out,UN,0,out,$span,*,IF"); > push(@data,"GPRINT:totalin:AVERAGE:Total traffic\\: %.2lf %s\\n"); > push(@data,"GPRINT:totalout:AVERAGE:Total traffic\\: %.2lf %s"); Well, my data are gat

Re: [rrd-users] A few Newbie questions

2008-02-05 Thread Erik de Mare
if you have 1.2.x it can be done this way: (from the manual http://oss.oetiker.ch/rrdtool/doc/rrdgraph_rpn.en.html) TOTAL Returns the rate from each defined time slot multiplied with the step size. This can, for instance, return total bytes transfered when you have logged bytes per second. The ti

Re: [rrd-users] A few Newbie questions

2008-02-05 Thread Simon Hobson
apoch632 wrote: >I have a set of .rrd databases which give the Internet usage of an IP >address over a timeframe. How do I extract this data to be able to say on a >webpage or terminal that " 'This IP address' has downloaded X bytes this >month" Average = total/time therefore total = average *

[rrd-users] A few Newbie questions

2008-02-05 Thread apoch632
Hi. I have to use RRDtool for a project but am not to familar with it. I've read the tutorials I've found online but still not too sure what I'm doing I have a couple of questions I have a set of .rrd databases which give the Internet usage of an IP address over a timeframe. How do I extract th