[rrd-users] Re: rrdtool fetch question- what is what?
Alex van den Bogaerdt
alex at ergens.op.het.net
Sat May 17 12:21:33 MEST 2003
On Fri, May 16, 2003 at 04:11:38PM -0700, John Giordano wrote:
> foo moved: 39.7927987740375 GigaBytes for 4/1/03 2:30pm to 5/1/03 2:30pm (this would be for both INBOUND and OUTBOUND)
It seems you are mixing output from the command with your own remarks.
Please don't. This makes it hard to follow.
> serengeti# cat working-cmd-month-stdout-IN
> ./rrdtool graph /dev/null --start '4/1/03 2:30pm' --end '5/1/03 2:30pm' DEF:inoctets=myrouter.rrd:ds0:AVERAGE CDEF:in=inoctets,8,* PRINT:in:AVERAGE:"%lf"
> ##This is inoctets multiplied by 8 thereby giving me bits
> serengeti# ./working-cmd-month-stdout-OUT
> 65164.533407 / 8 * 86400 * 30 = 21113136000
> serengeti# ./working-cmd-month-stdout-IN
> 65978.750124 / 8 * 86400 * 30 = 21376872000
So the output would be
On average this user has approximately 65 kbps outbound and 66 kbps inbound.
This is pretty low. On a graph this will show up as a couple of lines on
top of the X-Axis, especially if there are larger peaks to, say, 2 Mbps.
Let's work with 64 kbps just to make easy example numbers. 64 kilobit
each second. That's 64*3600 = 230400 kilobit or 230 megabit per hour.
It's also 64*86400 = 5529600 kilobit or 6629 megabit or 6.6 gigabit per day.
6.6 gigabit per day... times 30 for a month, divide by 8 for bytes, this
is about 24 GBytes.
The traffic is full duplex so 24*2 = 48 GBytes. *Why* is there no way
this user consumed 42 GB of precious bandwidth ?
You say it yourself, the traffic looks normal, as do the calculations.
42 GB *is* a normal number.
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
More information about the rrd-users