summaryrefslogtreecommitdiffstats
path: root/nfacct.8
diff options
context:
space:
mode:
authorEric Leblond <eric@regit.org>2012-12-26 22:46:21 +0100
committerEric Leblond <eric@regit.org>2012-12-27 11:32:33 +0100
commitd17c772c98057b2cc0118274605d292809ff6b1e (patch)
tree5334640cd93f372b764ec5b0150d2f979ed8008a /nfacct.8
parentb1be73cbeea81d47fde3180bc7172004c7473a30 (diff)
Add restore command
This patch adds a 'restore' command to nfacct commands. It takes the output of 'list' command and use it to restore the counters. Basically, the user can save the counter with: nfacct list >nfacct.dump And restore them with: nfacct restore <nfacct.dump Signed-off-by: Eric Leblond <eric@regit.org>
Diffstat (limited to 'nfacct.8')
-rw-r--r--nfacct.84
1 files changed, 4 insertions, 0 deletions
diff --git a/nfacct.8 b/nfacct.8
index 96c16c2..554bc3b 100644
--- a/nfacct.8
+++ b/nfacct.8
@@ -17,6 +17,10 @@ specified at any given time.
.BI "list "
List the existing accounting object in table.
.TP
+.BI "restore "
+Restore accounting object table by reading from stdin. Input format is the one used
+as output by the list command.
+.TP
.BI "add "
Add new accounting object.
.TP