diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-01-17 20:34:13 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-01-17 20:34:13 +0100 |
commit | 4fb9c22f6e4ec2fadd22c0863137f211d9b392c4 (patch) | |
tree | 2f3cc691720551bc3f230651ee6b69c1b8c093e2 /conntrack.8 | |
parent | d05f05e21be0cca59ca67ac19ef2b73c467b8250 (diff) | |
download | conntrack-tools-4fb9c22f6e4ec2fadd22c0863137f211d9b392c4.tar.gz conntrack-tools-4fb9c22f6e4ec2fadd22c0863137f211d9b392c4.zip |
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.8 | 3 |
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 " |