Web Hosting Talk







View Full Version : Traffic


nmluan
11-07-2003, 04:56 PM
Is there a way I can check my total all my traffic (in and out) for a specific month?

And where should I check?

And after how much does the traffic count on eth0 reset to 0?

Thanks a lot.

ML

dpendor
11-07-2003, 05:07 PM
depending on what OS you use, there are several solutions..
You can setup a packet count/log, using ipfw firewall on unix type systems.

More common is using like MRTG graphs, available on unix/windows operating systems.

grutn
11-07-2003, 05:09 PM
I run ipfw on my freeBSD machine.. is it difficult to set up this count/log?

nmluan
11-07-2003, 05:13 PM
I am on redhat 8.
All I am interested is how many bytes has gone in and out my eth0 interface. :(

And how many bytes it will count before it reset. And how to know how many cycles passed?

Thanks a bunch.

ML

nmluan
11-07-2003, 05:50 PM
All this because my DC's software is saying that my box is averaging 1.24Mb/s (~5500Gb/mon). My port is capped at 10Mbit/s and I have ~22Gb total bandwidth reporting in WHM. :(
How did they calculate such an insane average? That means I *constantly* max out the 10Mbit connection for the last 7 days!

This is scary and I am really worry now. >5000Gb will be about $8000 which I definitely don't have.

ML

Amish_Geek
11-07-2003, 05:54 PM
MRTG (MultiRouter Traffic Grapher)

You can install it, and have it graph/record the throughput on your eth0/1/2 etc. device.

Noam
11-07-2003, 06:46 PM
Originally posted by nmluan
That means I *constantly* max out the 10Mbit connection for the last 7 days!

You can check your *current* bandwidth usage using a nice little program called iptraf (http://cebu.mozcom.com/riker/iptraf/) , for bsd i suggest slurm (http://www.raisdorf.net/slurm/) .
This is just so you can see for your self that your REALLY not maxing your 10mbit.

as others suggested an MRTG generated graph will be useful when dealing with any pig-headed datacenters.

HADhost
11-07-2003, 07:17 PM
Originally posted by nmluan
All this because my DC's software is saying that my box is averaging 1.24Mb/s (~5500Gb/mon). My port is capped at 10Mbit/s and I have ~22Gb total bandwidth reporting in WHM. :(
How did they calculate such an insane average? That means I *constantly* max out the 10Mbit connection for the last 7 days!

This is scary and I am really worry now. >5000Gb will be about $8000 which I definitely don't have.

ML

I'm guessing you're a SM customer? They're currently switching their graphing software to new servers and the averages and maxes are flip flopped. The problem will be fixed soon

Mfjp
11-07-2003, 07:45 PM
Originally posted by nmluan
All this because my DC's software is saying that my box is averaging 1.24Mb/s (~5500Gb/mon). My port is capped at 10Mbit/s and I have ~22Gb total bandwidth reporting in WHM. :(
How did they calculate such an insane average? That means I *constantly* max out the 10Mbit connection for the last 7 days!

This is scary and I am really worry now. >5000Gb will be about $8000 which I definitely don't have.

ML

You better get a whole backup set of your data and get ready to move.

Nutty
11-07-2003, 08:26 PM
Originally posted by nmluan
All this because my DC's software is saying that my box is averaging 1.24Mb/s (~5500Gb/mon). My port is capped at 10Mbit/s and I have ~22Gb total bandwidth reporting in WHM. :(
How did they calculate such an insane average? That means I *constantly* max out the 10Mbit connection for the last 7 days!

This is scary and I am really worry now. >5000Gb will be about $8000 which I definitely don't have.

ML

Isn't 1.24Mb's only about 450-500gb a month in traffic? Or are you talking MB's?

Noam
11-07-2003, 09:02 PM
Originally posted by Nutty
Isn't 1.24Mb's only about 450-500gb a month in traffic? Or are you talking MB's?
he's talking bit all the way.
megabits and gigabits.

RutRow
11-07-2003, 11:03 PM
Originally posted by nmluan
And how many bytes it will count before it reset.


Depends on what counter you are referring to and the system. On x86 hardware the counters you see in 'cat /proc/net/dev' and 'ifconfig' are 32 bit integers, therefore they roll over at 2^32 or 4 G.

TheTrance
11-08-2003, 02:42 AM
iptraf for linux, and trafshow for bsd. both are real time info