Document the use of the -a flag in conjunction with the -r flag.

PR:             docs/13037
Submitted by:   Christopher Masto <chris@netmonger.net>
This commit is contained in:
Nik Clayton 1999-08-11 22:25:55 +00:00
parent 2395507999
commit 6d6189a455
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49642
2 changed files with 11 additions and 3 deletions

View File

@ -42,7 +42,7 @@ char const copyright[] =
static char sccsid[] = "@(#)main.c 8.4 (Berkeley) 3/1/94";
#endif
static const char rcsid[] =
"$Id: main.c,v 1.24 1999/02/06 19:12:48 jhay Exp $";
"$Id: main.c,v 1.25 1999/04/26 16:11:48 luigi Exp $";
#endif /* not lint */
#include <sys/param.h>
@ -568,7 +568,7 @@ usage()
{
(void)fprintf(stderr, "%s\n%s\n%s\n%s\n",
"usage: netstat [-Aan] [-f address_family] [-M core] [-N system]",
" netstat [-bdghimnrs] [-f address_family] [-M core] [-N system]",
" netstat [-abdghimnrs] [-f address_family] [-M core] [-N system]",
" netstat [-bdn] [-I interface] [-M core] [-N system] [-w wait]",
" netstat [-M core] [-N system] [-p protocol]");
exit(1);

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)netstat.1 8.8 (Berkeley) 4/18/94
.\" $Id$
.\" $Id: netstat.1,v 1.13 1999/07/12 20:23:49 nik Exp $
.\"
.Dd April 18, 1994
.Dt NETSTAT 1
@ -88,6 +88,11 @@ for debugging.
With the default display,
show the state of all sockets; normally sockets used by
server processes are not shown.
With the routing table display (option
.Fl r
, as described below), show protocol-cloned routes (routes
generated by a RTF_PRCLONING parent route); normally these routes are
not shown.
.It Fl b
With the interface display (option
.Fl i
@ -182,6 +187,9 @@ Show per-protocol statistics.
If this option is repeated, counters with a value of zero are suppressed.
.It Fl r
Show the routing tables.
Use with
.Fl a
to show protocol-cloned routes.
When
.Fl s
is also present, show routing statistics instead.