From: Esteban Ribicic <eribicic@UolSinectis.com>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] Measuring throughput
Date: Thu, 06 Feb 2003 20:41:16 +0000 [thread overview]
Message-ID: <marc-lartc-104456398023532@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104455624311696@msgid-missing>
Another way may be using iptables accounting..for example:
iptables -N udp-out
iptables -A udp-out -j accept
iptables -N udp-in
iptables -A udp-in -j accept
iptables -A input -p udp -j udp-in
iptables -A output -p udp -j udp-out
you can see this with:
iptables -L -n -v -x
..i have some perl scripts to show that in graphs (rrdtool, gnuplot,
etc)...
saludos
Esteban.
On Thu, 2003-02-06 at 16:04, Patrick Nehls wrote:
> Install a program called nload or iptraf. Nload very simply gives you the
> current in and out of whatever interface your specify along with an average.
> Here's the command I use:
> nload -i 2048 -o 384 -s 9 -t 1000 -u k -U m eth0 eth1
> This tells to set the incoming graph at 2Mbit max, outgoing graph at 384kbit
> max, -s 9 smoother average bandwidth number, -u is traffic number units
> (bit/s, kbit/s, mbit/s, gbit/s), and -U is the units for the amount of data
> in/out. The m lets me see rates for eth0 and eth1 (multiple interfaces).
>
> Iptraf is much more of a full featured network monitoring program and I
> highly recommend it as well as nload. Iptraf can give you the basic in/out
> stats of your network along with much more. I use iptraf when I want to
> monitor the bandwidth usage of a specific connection and nload when I want
> the overall picture of how much data is being transferred in and out.
>
> Patrick
>
> -----Original Message-----
> From: Kenneth Porter [mailto:shiva@sewingwitch.com]
> Sent: Thursday, February 06, 2003 10:30 AM
> To: LARTC List
> Subject: [LARTC] Measuring throughput
>
>
> I'm running a game server which uses a lot of UDP traffic on a 4 Mbps
> connection. I'd like to figure out how much of that I'm really using
> (inbound vs. outbound) and I'd like to verify my bandwidth cap.
>
> The host also runs a web and FTP server and I'm running wshaper to keep
> those from hurting game traffic. But I'm concerned that it might be
> artificially capping my bandwidth and that I might need to tweak it.
>
> I've got ntop running (http://matureasskickers.net:3000/) and it tells me
> that in a massive game last night (50 players) I used 2.2 Mbps, but I don't
> know whether that's inbound, outbound, or the sum of both. Is there another
> tool better for this measurement?
>
> I'd like to simulate lots of game traffic by flooding UDP packets out of the
> box (say, to my home system) to verify the bandwidth cap. What tool would be
> good for doing that? (The Slapper worm doesn't count! ;))
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
--
Esteban Ribicic
Network Operation Center
UOL-Sinectis S.A.
Florida 537 Piso 6, Buenos Aires, Argentina
+54-11-4321-9110 ext 2503
+54-11-4321-9107 Directo
eribicic@uolsinectis.com
www.uolsinectis.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-02-06 20:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-06 18:29 [LARTC] Measuring throughput Kenneth Porter
2003-02-06 19:04 ` Patrick Nehls
2003-02-06 20:41 ` Esteban Ribicic [this message]
2003-02-06 23:56 ` Patrik Hildingsson
2003-02-06 23:58 ` Jay Wineinger
2003-02-07 7:40 ` Stef Coene
2003-02-10 2:50 ` mingching.tiew
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-104456398023532@msgid-missing \
--to=eribicic@uolsinectis.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox