[cod] Bandwidth measurement

Geoff Goas gitman at gmail.com
Wed Jan 7 20:52:30 EST 2009


ntop is a descriptive, graphical bandwidth tool. it'll capture all traffic
but you should be able to narrow it down to a specific port and IP.

These RHEL5 packages should work nicely
x86_x64:
http://rpm.pbone.net/index.php3/stat/4/idpl/9548733/com/ntop-3.3.6-6.el5.x86_64.rpm.html
i386:
http://rpm.pbone.net/index.php3/stat/4/idpl/9548215/com/ntop-3.3.6-6.el5.i386.rpm.html
On Wed, Jan 7, 2009 at 7:29 PM, Pete <biovore at gmail.com> wrote:

> iptraf and bwm-ng and iptables can be used to monitor bandwidth on linux
> systems.
>
> bwm-ng is a cmd line tool thats a bit like top.  Will show per interface
> statistics.
>
> You can also you iptables to LOG packets to & from a ip:port on your local
> machine.
> # To log packets to and from a COD server on 10.0.0.1:28960 try this:
> iptables -A OUTPUT -p udp --sport 28960 -s 10.0.0.1 -j LOG
> iptables -A INPUT -p udp --dport 28960 -d 10.0.0.1 -j LOG
>
> iptables --list -v -n  will show total system bandwidth moved though the
> linux network stack for the different chains.
> If you look at the first and second column of this display you see number
> of packets and bytes tagged by that rule.
> use iptables -Z INPUT & iptables -Z OUTPUT to zero out all the counters.
>
> The other thing you can do is use tcpdump to record network traffic to a
> file then use ethereal/wireshark to figure out whats going on.
>
> I assume 25Kb/s per player for COD4/5, Depends on settings.
>
>
> On Wed, Jan 7, 2009 at 3:58 PM, Walker <walkertje at gmail.com> wrote:
>
>> 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
>>
>
>
>
> --
> Peter Fetterer
> KB3GTN
>
> The force is like duct tape.
> It has a light side and a darkside
> and binds the universe together.
>



-- 
Geoff Goas
Network Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20090107/6c352178/attachment.htm>


More information about the Cod mailing list