mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-08 05:34:58 +02:00
doc: move iptaccount(8) option overview to its own manpage
This commit is contained in:
@@ -9,3 +9,5 @@ sbin_PROGRAMS = iptaccount
|
|||||||
iptaccount_LDADD = libxt_ACCOUNT_cl.la
|
iptaccount_LDADD = libxt_ACCOUNT_cl.la
|
||||||
|
|
||||||
lib_LTLIBRARIES = libxt_ACCOUNT_cl.la
|
lib_LTLIBRARIES = libxt_ACCOUNT_cl.la
|
||||||
|
|
||||||
|
man_MANS = iptaccount.8
|
||||||
|
26
extensions/ACCOUNT/iptaccount.8
Normal file
26
extensions/ACCOUNT/iptaccount.8
Normal file
@@ -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)
|
@@ -40,19 +40,7 @@ to account the overall traffic to/from your internet provider.
|
|||||||
.PP
|
.PP
|
||||||
The data can be queried using the userspace libxt_ACCOUNT_cl library,
|
The data can be queried using the userspace libxt_ACCOUNT_cl library,
|
||||||
and by the reference implementation to show usage of this library,
|
and by the reference implementation to show usage of this library,
|
||||||
the \fBiptaccount\fP(8) tool, which features following options:
|
the \fBiptaccount\fP(8) tool.
|
||||||
.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)
|
|
||||||
.PP
|
.PP
|
||||||
Here is an example of use:
|
Here is an example of use:
|
||||||
.PP
|
.PP
|
||||||
|
@@ -5,8 +5,8 @@ Xtables-addons \(em additional extensions for iptables, ip6tables, etc.
|
|||||||
.\" @TARGET@
|
.\" @TARGET@
|
||||||
.SH Matches
|
.SH Matches
|
||||||
.\" @MATCHES@
|
.\" @MATCHES@
|
||||||
.SH "SEE ALSO"
|
.SH "See also"
|
||||||
\fBiptables\fP(8), \fBip6tables\fP(8)
|
\fBiptables\fP(8), \fBip6tables\fP(8), \fBiptaccount\fP(8)
|
||||||
.PP
|
.PP
|
||||||
For developers, the book "Writing Netfilter modules" at
|
For developers, the book "Writing Netfilter modules" at
|
||||||
http://jengelh.medozas.de/documents/Netfilter_Modules.pdf provides detailed
|
http://jengelh.medozas.de/documents/Netfilter_Modules.pdf provides detailed
|
||||||
|
Reference in New Issue
Block a user