]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
doc: move iptaccount(8) option overview to its own manpage
authorJan Engelhardt <jengelh@medozas.de>
Tue, 31 May 2011 21:05:31 +0000 (23:05 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Tue, 31 May 2011 21:05:31 +0000 (23:05 +0200)
extensions/ACCOUNT/Makefile.am
extensions/ACCOUNT/iptaccount.8 [new file with mode: 0644]
extensions/ACCOUNT/libxt_ACCOUNT.man
xtables-addons.8.in

index 08f3bfef3c70273780a8c3642d4dcf04558b864e..2c6f7d03fd39e884cb36971c2bc42dd13823fcf0 100644 (file)
@@ -9,3 +9,5 @@ sbin_PROGRAMS = iptaccount
 iptaccount_LDADD = libxt_ACCOUNT_cl.la
 
 lib_LTLIBRARIES = libxt_ACCOUNT_cl.la
+
+man_MANS = iptaccount.8
diff --git a/extensions/ACCOUNT/iptaccount.8 b/extensions/ACCOUNT/iptaccount.8
new file mode 100644 (file)
index 0000000..414b93c
--- /dev/null
@@ -0,0 +1,26 @@
+.TH iptaccount 8 "v1.16" "" "v1.16"
+.SH Name
+iptaccount \(em administrative utility to access xt_ACCOUNT statistics
+.SH Syntax
+\fBiptaccount\fP [\fB\-acfhu\fP] [\fB\-l\fP \fIname\fP]
+.SH Options
+.PP
+\fB\-a\fP
+List all (accounting) table names.
+.PP
+\fB\-c\fP
+Loop every second (abort with CTRL+C).
+.PP
+\fB\-f\fP
+Flush data after display.
+.PP
+\fB\-h\fP
+Free all kernel handles. (Experts only!)
+.PP
+\fB\-l\fP \fIname\fP
+Show data in accounting table called by \fIname\fP.
+.TP
+\fB\-u\fP
+Show kernel handle usage.
+.SH "See also"
+\fBxtables-addons\fP(8)
index 2a26c6753ed8538f1efd1d2c48f9180205400ee7..1772c3084d591e2addebde558ee8e68c6d29481c 100644 (file)
@@ -40,19 +40,7 @@ to account the overall traffic to/from your internet provider.
 .PP
 The data can be queried using the userspace libxt_ACCOUNT_cl library,
 and by the reference implementation to show usage of this library,
-the \fBiptaccount\fP(8) tool, which features following options:
-.PP
-[\fB\-u\fP] show kernel handle usage
-.PP
-[\fB\-h\fP] free all kernel handles (experts only!)
-.PP
-[\fB\-a\fP] list all table names
-.PP
-[\fB\-l\fP \fIname\fP] show data in table \fIname\fP
-.PP
-[\fB\-f\fP] flush data after showing
-.PP
-[\fB\-c\fP] loop every second (abort with CTRL+C)
+the \fBiptaccount\fP(8) tool.
 .PP
 Here is an example of use:
 .PP
index 0a4dd742bea4578822682b15ac0084dfeb799c92..1fc3aab4873c24c985385db476a10aeb53c71cb2 100644 (file)
@@ -5,8 +5,8 @@ Xtables-addons \(em additional extensions for iptables, ip6tables, etc.
 .\" @TARGET@
 .SH Matches
 .\" @MATCHES@
-.SH "SEE ALSO"
-\fBiptables\fP(8), \fBip6tables\fP(8)
+.SH "See also"
+\fBiptables\fP(8), \fBip6tables\fP(8), \fBiptaccount\fP(8)
 .PP
 For developers, the book "Writing Netfilter modules" at
 http://jengelh.medozas.de/documents/Netfilter_Modules.pdf provides detailed