auyongtc
08-09-2001, 01:46 AM
Hey peeps...
I need the correct formula to convert from usage in kbps (retrieved via MRTG on the switch port) to GB of transfers per month.
Please help... thanks!
sbrad
08-09-2001, 02:54 AM
Here's a site that has a great chart (the middle one):
http://host-tribune.com/host_start/bandwidth.htm
auyongtc
08-09-2001, 05:09 AM
Well, I don't need the chart... I need the correct and accurate formula so I can do a scripting that reflect the graph on MRTG.
Please help!!!! :bawling:
Lawrence
08-09-2001, 08:03 AM
It's easy enough to work out:
X kbps = X / (8 * 1024^2) GBps = X / (8 * 1024^2) * 60 * 60 * 24 * 30 GB/month
I think that works. :eek:
microsol
08-09-2001, 08:43 AM
Originally posted by Lawrence
It's easy enough to work out:
X kbps = X / (8 * 1024^2) GBps = X / (8 * 1024^2) * 60 * 60 * 24 * 30 GB/month
I think that works. :eek:
Shouldn't that be 30.5 days? :)
RutRow
08-09-2001, 08:49 AM
Someone please correct me if I am wrong, but I have been told by at least 2 network administrators, that bandwidth calculations use 1kbit=1000bits, not 1kbit=1024bits. If this is the case, your conversion formula is:
(X kbps)*0.324 = Y GBytes per month
-Rut
P.S. I think I used a 30 day month.
RutRow
08-09-2001, 09:00 AM
If you use a 30.5 day month, the conversion factor is 0.3294.
Planet Z
08-09-2001, 09:29 AM
If you're using Kbps (Kbytes), then it's Kbps * 2.592
Lawrence
08-09-2001, 10:06 AM
Originally posted by microsol
Shouldn't that be 30.5 days? :)
:D
If you want to get really technical, you could do this:
(4(7 * 31) + 4(4 * 30) + 3(28) + 29) / 48 = 30.4375 days per month.
Working with that, the conversion factor is 0.31350 (to 5 dec. pl., assuming I pressed the right calculator buttons, I didn't double-check)
If anyone would like to incorporate the lack of leap years on the turn of the century minus those divisible by 400... the floor is your's... :stickout:
Jchristophe
08-09-2001, 02:54 PM
MRTG Monitoring . You count the monthly average in and average out and use the following equation:
Avg. Out + Avg. In / 8 bits x 60 seconds x 60 minutes x 24 hours x 30.5 days = total bandwidth.
GBS=total/1048576
Efreeservers use this equation