Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/netstat/netstat.1
Show First 20 Lines • Show All 303 Lines • ▼ Show 20 Lines | |||||
Show the number of dropped packets. | Show the number of dropped packets. | ||||
.It Fl h | .It Fl h | ||||
Print all counters in human readable form. | Print all counters in human readable form. | ||||
.It Fl n | .It Fl n | ||||
Do not resolve numeric addresses and port numbers to names. | Do not resolve numeric addresses and port numbers to names. | ||||
See | See | ||||
.Sx GENERAL OPTIONS . | .Sx GENERAL OPTIONS . | ||||
.It Fl W | .It Fl W | ||||
Avoid truncating interface names even if this causes some fields to overflow. | Avoid truncating addresses even if this causes some fields to overflow. | ||||
See | |||||
.Sx GENERAL OPTIONS . | .Sx GENERAL OPTIONS . | ||||
.It Fl f Ar protocol_family | .It Fl f Ar protocol_family | ||||
Filter by | Filter by | ||||
.Ar protocol_family . | .Ar protocol_family . | ||||
See | See | ||||
.Sx GENERAL OPTIONS . | .Sx GENERAL OPTIONS . | ||||
.El | .El | ||||
.It Xo | .It Xo | ||||
▲ Show 20 Lines • Show All 469 Lines • ▼ Show 20 Lines | |||||
Extract the name list from the specified system instead of the default, | Extract the name list from the specified system instead of the default, | ||||
which is the kernel image the system has booted from. | which is the kernel image the system has booted from. | ||||
.It Fl n | .It Fl n | ||||
Show network addresses and ports as numbers. | Show network addresses and ports as numbers. | ||||
Normally | Normally | ||||
.Nm | .Nm | ||||
attempts to resolve addresses and ports, | attempts to resolve addresses and ports, | ||||
and display them symbolically. | and display them symbolically. | ||||
.It Fl W | |||||
Wider output; expand address fields, etc, to avoid truncation. | |||||
Non-numeric values such as domain names may still be truncated; use the | |||||
.Fl n | |||||
option if necessary to avoid ambiguity. | |||||
.El | .El | ||||
.Sh EXAMPLES | .Sh EXAMPLES | ||||
Show packet traffic information (packets, bytes, errors, packet drops, etc) for | Show packet traffic information (packets, bytes, errors, packet drops, etc) for | ||||
interface re0 updated every 2 seconds and exit after 5 outputs: | interface re0 updated every 2 seconds and exit after 5 outputs: | ||||
.Bd -literal -offset indent | .Bd -literal -offset indent | ||||
$ netstat -w 2 -q 5 -I re0 | $ netstat -w 2 -q 5 -I re0 | ||||
.Ed | .Ed | ||||
.Pp | .Pp | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |