From: Sandro Tosi <sandro.tosi@register.it>
To: Jesper Dangaard Brouer <hawk@comx.dk>
Cc: "netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: Re: netfilter stats, info and resources usage
Date: Thu, 28 Oct 2010 15:47:23 +0200 [thread overview]
Message-ID: <4CC97EEB.3020404@register.it> (raw)
In-Reply-To: <1288261736.29275.20.camel@firesoul.comx.local>
Hi Jesper,
On 10/28/2010 12:28 PM, Jesper Dangaard Brouer wrote:
> On Wed, 2010-10-27 at 16:42 +0200, Sandro Tosi wrote:
>> we are using quite a lot iptables and we'd like to gather some
>> stats/information to "what's doing" and hopefully also an idea of the
>> resources used by it (in particular cpu and ram).
>>
>> Probably my google search karma is very low today, given the only
>> reference to CPU usage I could find was vague refs to softirq data, and
>> for stats some links like:
>>
>> 3. http://people.netfilter.org/hawk/DDoS/2010-04-12__001/list.html
>>
>> 3 is very interesting, Jesper: how did you generate it? :)
>
> I use the tool "rrdcollect" to sample a lot of different proc values.
>
> See the rrdcollect.conf config here:
> http://people.netfilter.org/hawk/DDoS/rrdcollect_scripts/rrdcollect.conf
>
> The RRD data files are created by a perl script.
>
> I have put the perl script here:
> http://people.netfilter.org/hawk/DDoS/rrdcollect_scripts/rrdcollect-create-datafiles.pl
>
> I use the tool 'drraw' to show the graph data, but I have not uploaded
> those files... Don't know if its the right tool for the job, but it was
> very easy to change things to start with, then when the number of graphs
> grew, it sort of got annoying to maintain via drraw.
Thanks a lot for sharing, I'll definitely look at this! but... is there
some docs about what those values are? :) If I look at kernel
Documentation/filesystems/proc.txt there's almost no doc about /proc/net
let alone /proc/net/stat or conntrack.
Thanks,
--
Sandro Tosi
Product Engineer
Linux based Solutions
Hosting Products
R&D | Dada.pro
sandro.tosi@register.it
prev parent reply other threads:[~2010-10-28 13:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-27 14:42 netfilter stats, info and resources usage Sandro Tosi
2010-10-27 16:32 ` Jan Engelhardt
2010-10-28 10:01 ` Sandro Tosi
2010-10-28 10:28 ` Jesper Dangaard Brouer
2010-10-28 13:47 ` Sandro Tosi [this message]
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=4CC97EEB.3020404@register.it \
--to=sandro.tosi@register.it \
--cc=hawk@comx.dk \
--cc=netfilter@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