From 9928beef682154fcd110ba681421197fcb412f9a Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Tue, 18 Aug 2020 14:32:07 -0600 Subject: [PATCH] doc: add ifctrstat(8) manpage --- Makefile | 3 ++- doc/ifctrstat.scd | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 doc/ifctrstat.scd diff --git a/Makefile b/Makefile index 8ec124a..ef9acff 100644 --- a/Makefile +++ b/Makefile @@ -127,7 +127,8 @@ install: all MANPAGES_8 = \ doc/ifquery.8 \ doc/ifup.8 \ - doc/ifdown.8 + doc/ifdown.8 \ + doc/ifctrstat.8 MANPAGES_5 = \ doc/interfaces.5 diff --git a/doc/ifctrstat.scd b/doc/ifctrstat.scd new file mode 100644 index 0000000..3f17721 --- /dev/null +++ b/doc/ifctrstat.scd @@ -0,0 +1,39 @@ +ifctrstat(8) + +# NAME + +ifctrstat - display interface statistics + +# SYNOPSIS + +*ifctrstat* [<_options_>...] <_interface_> <_counter_> + +*ifctrstat* [<_options_>...] -L|--list + +# DESCRIPTION + +*ifctrstat* is used to query interface statistic counters in +a kernel-agnostic way. This is useful for heterogenous +environments where multiple kernels may be in use. + +# OPTIONS + +*-h, --help* + Display supported options to ifctrstat. + +*-n, --no-label* + Display the requested counter without its label. + +*-L, --list* + List available counters on this system. + +*-V, --version* + Print the ifupdown-ng version and exit. + +# SEE ALSO + +*ifquery*(8) + +# AUTHORS + +A. Wilcox