nfacct − command line tool to create/retrieve/delete accounting objects
nfacct command [name] [options]
nfacct is the command line tool that allows to manipulate the Netfilter’s extended accounting infrastructure.
These commands specify the action that nfacct performs. Only one of them can be specified at any given time.
list |
List the existing accounting object in table. |
|||
add |
Add new accounting object. |
|||
delete |
Delete accounting object. |
|||
get |
Get existing accounting object. |
|||
flush |
Flush the entire table. |
version
Displays the version information.
help |
Displays the help message. |
This tool also allows a couple of options with the get and list
commands that are:
reset |
That atomically obtains and resets the counters. |
|||
xml |
That displays the output in XML format. |
Please, report them to netfilter-devel AT vger DOT kernel DOT org or file a bug in Netfilter’s bugzilla (https://bugzilla.netfilter.org).
Pablo Neira Ayuso wrote and maintains the nfacct tool.
Man page written by Pablo Neira Ayuso <pablo AT netfilter DOT org>.