version 1.34, 2003/11/28 10:05:43 |
version 1.35, 2004/04/01 07:55:17 |
|
|
.Op Fl N Ar system |
.Op Fl N Ar system |
.Op Fl w Ar wait |
.Op Fl w Ar wait |
.Nm netstat |
.Nm netstat |
|
.Op Fl s |
.Op Fl M Ar core |
.Op Fl M Ar core |
.Op Fl N Ar system |
.Op Fl N Ar system |
.Op Fl p Ar protocol |
.Op Fl p Ar protocol |
|
|
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 |
Restrict the output to |
.Ar protocol , |
.Ar protocol , |
which is either a well-known name for a protocol or an alias for it. |
which is either a well-known name for a protocol or an alias for it. |
Some protocol names and aliases are listed in the file |
Some protocol names and aliases are listed in the file |
.Pa /etc/protocols . |
.Pa /etc/protocols . |
A null response typically means that there are no interesting numbers to |
|
report. |
|
The program will complain if |
The program will complain if |
.Ar protocol |
.Ar protocol |
is unknown or if there is no statistics routine for it. |
is unknown. |
|
If the |
|
.Fl s |
|
option is specified, the per-protocol statistics are displayed. |
|
Otherwise the states of the matching sockets are shown. |
.It Fl q |
.It Fl q |
Only show interfaces that have seen packets (or bytes if |
Only show interfaces that have seen packets (or bytes if |
.Fl b |
.Fl b |