version 1.29, 2003/06/03 02:56:13 |
version 1.30, 2003/06/05 20:01:35 |
|
|
.Op Fl M Ar core |
.Op Fl M Ar core |
.Op Fl N Ar system |
.Op Fl N Ar system |
.Nm netstat |
.Nm netstat |
.Op Fl p Ar protocol |
|
.Op Fl i |
|
.Op Fl I Ar Interface |
|
.Nm netstat |
|
.Op Fl s |
.Op Fl s |
.Op Fl f Ar address_family |
.Op Fl f Ar address_family |
.Op Fl i |
.Op Fl i |
|
|
will continuously display the information regarding packet |
will continuously display the information regarding packet |
traffic on the configured network interfaces. |
traffic on the configured network interfaces. |
The fourth form displays statistics about the named protocol. |
The fourth form displays statistics about the named protocol. |
The fifth and sixth forms display per interface statistics for |
The fifth form displays per interface statistics for |
the specified protocol or address family. |
the specified address family. |
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
|
|
used with a |
used with a |
.Ar wait |
.Ar wait |
interval as described below. |
interval as described below. |
|
.br |
.Pp |
.Pp |
If the |
If the |
.Fl f Ar address_family |
.Fl f Ar address_family |
option (with the |
option (with the |
.Fl s |
.Fl s |
option) or the |
option) is present, show per-interface |
.Fl p Ar protocol |
statistics on the given interface for the specified |
option is present, show per-interface statistics on the given interface |
.Ar address_family . |
for the specified |
|
.Ar address_family |
|
or |
|
.Ar protocol , |
|
respectively. |
|
.It Fl i |
.It Fl i |
Show the state of interfaces which have been auto-configured |
Show the state of interfaces which have been auto-configured |
(interfaces statically configured into a system but not |
(interfaces statically configured into a system but not |
|
|
.Fl f Ar address_family |
.Fl f Ar address_family |
option (with the |
option (with the |
.Fl s |
.Fl s |
option) or the |
option) is present, show per-interface statistics on all interfaces |
.Fl p Ar protocol |
|
option is present, show per-interface statistics on all interfaces |
|
for the specified |
for the specified |
.Ar address_family |
.Ar address_family . |
or |
|
.Ar protocol , |
|
respectively. |
|
.It Fl M Ar core |
.It Fl M Ar core |
Extract values associated with the name list from the specified core |
Extract values associated with the name list from the specified core |
instead of the running kernel. |
instead of the running kernel. |