summaryrefslogtreecommitdiffstats
path: root/conntrack.8
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-03-31 15:36:36 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2009-03-31 15:36:36 +0200
commitff1768673f093c2bfc8e271513b20fc4aa4efeb3 (patch)
tree88a61508bd859988b6aad847f69fb990d25dd9b0 /conntrack.8
parent70744136608e3ee38f15c994fc2633cf5e3c9fa2 (diff)
conntrack: add `-S' command to display kernel statistics
This patch adds `-S' command to display kernel statistics. Using raw `cat' on /proc and the hexadecimal output is not very handy. This option parses the /proc entry and display the information is a more human friendly way. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'conntrack.8')
-rw-r--r--conntrack.85
1 files changed, 5 insertions, 0 deletions
diff --git a/conntrack.8 b/conntrack.8
index 280af9c..208f7a2 100644
--- a/conntrack.8
+++ b/conntrack.8
@@ -21,6 +21,8 @@ conntrack \- command line interface for netfilter connection tracking
.BR "conntrack -F [table]"
.br
.BR "conntrack -C [table]"
+.br
+.BR "conntrack -S "
.SH DESCRIPTION
.B conntrack
provides a full featured userspace interface to the netfilter connection tracking system that is intended to replace the old /proc/net/ip_conntrack interface. This tool can be used to search, list, inspect and maintain the connection tracking subsystem of the Linux kernel.
@@ -77,6 +79,9 @@ Flush the whole given table
.TP
.BI "-C, --count "
Show the table counter.
+.TP
+.BI "-S, --stats "
+Show the in-kernel connection tracking system statistics.
.SS PARAMETERS
.TP
.BI "-z, --zero "