[cod] Bandwidth measurement

Rens junktown at gmail.com
Thu Jan 8 02:15:24 EST 2009


I use a package called vnstat on my servers. It can measure current
traffic flowing through the interfaces and create an estimation on the
traffic for the month:

$ vnstat -m

 eth0  /  monthly

   month         rx      |      tx      |   total
-------------------------+--------------+--------------------------------------
  Oct '08     111.56 GB  |   146.26 GB  |   257.83 GB   %%%%:::::
  Nov '08      47.23 GB  |   113.91 GB  |   161.14 GB   %::::
  Dec '08     217.71 GB  |   385.27 GB  |   602.98 GB   %%%%%%%%::::::::::::::
  Jan '09      26.47 GB  |    54.89 GB  |    81.35 GB   %:
-------------------------+--------------+--------------------------------------
 estimated    111.89 GB  |   232.01 GB  |   343.90 GB

$ vnstat -l
Monitoring eth0...    (press CTRL-C to stop)

   rx:      36.94 kB/s   212 p/s            tx:      20.03 kB/s   140 p/s

$ vnstat -tr
1615 packets sampled in 5 seconds
Traffic average for eth0

      rx          20.76 kB/s            185 packets/s
      tx          22.81 kB/s            137 packets/s


Homepage for this program is: http://humdi.net/vnstat/
PHP frontend: http://www.sqweek.com/sqweek/index.php?p=1

2009/1/8 John Doesnot <fuzion.8 at gmail.com>:
> they need a bash.org for mailing lists...
> that was pretty epic :)
>
> On Wed, Jan 7, 2009 at 3:42 PM, Ronny Schedel <info at ronny-schedel.de> wrote:
>> Sorry:
>>
>> man iptraf
>>
>> http://www.google.com/search?site=iptraf&hl=en&q=iptraf
>>
>>
>> ----- Original Message ----- From: "|T-OC|Morpheus|:.Web"
>> <morpheus at clantoc.org>
>> To: <cod at icculus.org>
>> Sent: Wednesday, January 07, 2009 10:22 PM
>> Subject: Re: [cod] Bandwidth measurement
>>
>>
>> What a detailed answer ^^
>>
>> I'm also interested in this kind of tool (I knew about MRTG, but it's
>> for the entire machine), can you describe it or give a good link, please ?
>>
>> Ronny Schedel a écrit :
>>>
>>> iptraf
>>>
>>>    ----- Original Message -----
>>>    *From:* Walker <mailto:walkertje at gmail.com>
>>>    *To:* cod at icculus.org <mailto:cod at icculus.org>
>>>    *Sent:* Wednesday, January 07, 2009 9:58 PM
>>>    *Subject:* [cod] Bandwidth measurement
>>>
>>>    Hi all,
>>>
>>>    I am not an ISP, just someone with a dedicated server for our clan.
>>>
>>>    I would like to know if it is possible to measure the actual
>>>    bandwidth being used by (for instance) 1 gameserver. (we are
>>>    running more). I'm using CentOS 5. Are there any tools out there
>>>    doing this?
>>>
>>>    Greetz,
>>>    Walker
>>>
>>
>>
>> ---
>> To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
>> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
>>
>>
>>
>> ---
>> To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
>> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
>>
>>
>>
>
>
>
> --
> http://www.nukeit.org
>



More information about the Cod mailing list