summaryrefslogtreecommitdiffstats
path: root/conntrack.8
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-01-17 20:34:13 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-01-17 20:34:13 +0100
commit4fb9c22f6e4ec2fadd22c0863137f211d9b392c4 (patch)
tree2f3cc691720551bc3f230651ee6b69c1b8c093e2 /conntrack.8
parentd05f05e21be0cca59ca67ac19ef2b73c467b8250 (diff)
conntrack: add -C command to display the counter
This patch adds the -C command, to display the table counter. In the case of `-C conntrack' the tool reads the proc interface. For expectation, it loops on the table to count the number of entries (as there is not proc interface to display the number of expectations). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'conntrack.8')
-rw-r--r--conntrack.83
1 files changed, 3 insertions, 0 deletions
diff --git a/conntrack.8 b/conntrack.8
index 146e2df..94f4e41 100644
--- a/conntrack.8
+++ b/conntrack.8
@@ -72,6 +72,9 @@ Display a real-time event log.
.TP
.BI "-F, --flush "
Flush the whole given table
+.TP
+.BI "-C, --count "
+Show the table counter.
.SS PARAMETERS
.TP
.BI "-z, --zero "