version 1.15, 1999/05/16 19:57:59 |
version 1.16, 1999/06/05 01:21:34 |
|
|
.\" |
.\" |
.Dd April 18, 1994 |
.Dd April 18, 1994 |
.Dt NETSTAT 1 |
.Dt NETSTAT 1 |
.Os BSD 4.2 |
.Os |
.Sh NAME |
.Sh NAME |
.Nm netstat |
.Nm netstat |
.Nd show network status |
.Nd show network status |
|
|
.Fl i |
.Fl i |
or an interval, as described below), |
or an interval, as described below), |
show the number of dropped packets. |
show the number of dropped packets. |
.It Fl f Ar address_family |
.It Fl f Ar address_family |
Limit statistics or address control block reports to those |
Limit statistics or address control block reports to those |
of the specified |
of the specified |
.Ar address_family . |
.Ar address_family . |
|
|
If the |
If the |
.Fl s |
.Fl s |
option is also present, show multicast routing statistics. |
option is also present, show multicast routing statistics. |
.It Fl I Ar interface |
.It Fl I Ar interface |
Show information about the specified interface; |
Show information about the specified interface; |
used with a |
used with a |
.Ar wait |
.Ar wait |
|
|
interprets addresses and attempts to display them |
interprets addresses and attempts to display them |
symbolically). |
symbolically). |
This option may be used with any of the display formats. |
This option may be used with any of the display formats. |
.It Fl p Ar protocol |
.It Fl p Ar protocol |
Show statistics about |
Show statistics about |
.Ar protocol , |
.Ar protocol , |
which is either a well-known name for a protocol or an alias for it. Some |
which is either a well-known name for a protocol or an alias for it. Some |
|
|
.Bl -column XXXX RTF_BLACKHOLE |
.Bl -column XXXX RTF_BLACKHOLE |
1 RTF_PROTO1 Protocol specific routing flag #1. |
1 RTF_PROTO1 Protocol specific routing flag #1. |
2 RTF_PROTO2 Protocol specific routing flag #2. |
2 RTF_PROTO2 Protocol specific routing flag #2. |
B RTF_BLACKHOLE Just discard pkts (during updates). |
B RTF_BLACKHOLE Just discard pkts (during updates). |
C RTF_CLONING Generate new routes on use. |
C RTF_CLONING Generate new routes on use. |
D RTF_DYNAMIC Created dynamically (by redirect). |
D RTF_DYNAMIC Created dynamically (by redirect). |
G RTF_GATEWAY Destination requires forwarding by intermediary. |
G RTF_GATEWAY Destination requires forwarding by intermediary. |