[PLUG] Viewing current kernel values

Wil Cooley wcooley at nakedape.cc
Tue Apr 20 09:44:01 UTC 2004


On Tue, 2004-04-20 at 09:34, Matt Alexander wrote:
> I have a Linux router and I increased the value for tcp_conntrack_max.  Is
> there a way to view the actual value being currently used in the kernel?
> For example, if I've set tcp_conntrack_max to be 10000 and there's
> currently 9500 tracked connections then I'd like to know that so I can
> increase tcp_conntrack_max further.

/proc/net/ip_conntrack lists all tracked connections; wc -l should show
you a total.  I also seem to recall a top-like tool that will monitor
this, but I forget the name.

Wil
-- 
Wil Cooley                          mailto:wcooley at nakedape.cc
Naked Ape Consulting                        http://nakedape.cc 
* * * * * Portland's Premier Open Source Consultancy * * * * *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20040420/a55d0db3/attachment.asc>


More information about the PLUG mailing list