Linux Netfilter discussions
 help / color / mirror / Atom feed
* Determining number of active connections
@ 2009-03-10 14:18 jason.faulkner
  2009-03-10 15:22 ` Erik Wasser
  2009-03-11  9:16 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 4+ messages in thread
From: jason.faulkner @ 2009-03-10 14:18 UTC (permalink / raw)
  To: netfilter

Hi all,

I'd like to be able to monitor (trend) the number of tracked connections in iptables; however, doing something like "cat /proc/net/ip_conntrack | wc -l" eats up too much CPU to run with regularity (we track somewhere in the realm of 200,000 connections).

Is there a way to just pull the total number? It'd be nice to know that we aren't even getting close to the number of connections set in the sysctl. 

Thanks!

--
Jason Faulkner 
Linux Systems Engineer
Mailtrust, a division of Rackspace


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-03-11  9:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-10 14:18 Determining number of active connections jason.faulkner
2009-03-10 15:22 ` Erik Wasser
2009-03-10 15:30   ` jason.faulkner
2009-03-11  9:16 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox