From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Measuring throughput
Date: Fri, 07 Feb 2003 07:40:21 +0000 [thread overview]
Message-ID: <marc-lartc-104460369510164@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104455624311696@msgid-missing>
On Thursday 06 February 2003 21:41, Esteban Ribicic wrote:
> 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)...
I also have some scripts. They are integrated in a bigger set of scripts.
You can download it from www.docum.org on the gui page.
If you are interested in the rrd scripts, you need the get_snmp.pl : it
updates the rrd files and the tcrrd.pl script : it generates the graphics on
the fly in a web browser. The get_snmp.pl creates also a html page to view
the graph. Maybe you can use these scripts as an example to create your own.
I started with the larrd extension for BigBrother (bb4.com). I used the
larrd.pl script as an example to create my own set of scripts. Once you know
how it works, it's easy to graph whatever you want.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
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-07 7:40 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
2003-02-06 23:56 ` Patrik Hildingsson
2003-02-06 23:58 ` Jay Wineinger
2003-02-07 7:40 ` Stef Coene [this message]
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-104460369510164@msgid-missing \
--to=stef.coene@docum.org \
--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