version 1.74, 2015/02/08 04:29:53 |
version 1.75, 2015/02/12 01:49:02 |
|
|
for debugging, e.g. with the |
for debugging, e.g. with the |
.Fl P |
.Fl P |
flag. |
flag. |
|
When used with the |
|
.Fl -r |
|
flag it shows the internal pointers of the routing table. |
|
Only the super-user can use this option. |
.It Fl a |
.It Fl a |
With the default display, |
With the default display, |
show the state of all sockets; normally sockets used by |
show the state of all sockets; normally sockets used by |
|
|
.It "inet6" Ta Dv "AF_INET6" Ta "IP Version 6" |
.It "inet6" Ta Dv "AF_INET6" Ta "IP Version 6" |
.It "local" Ta Dv "AF_LOCAL" Ta "Local to Host (i.e., pipes)" |
.It "local" Ta Dv "AF_LOCAL" Ta "Local to Host (i.e., pipes)" |
.It "mpls" Ta Dv "AF_MPLS" Ta "MPLS" |
.It "mpls" Ta Dv "AF_MPLS" Ta "MPLS" |
.It "pflow" Ta Dv "PF_FLOW" Ta "pflow data export" |
|
.It "unix" Ta Dv "AF_UNIX" Ta "Local to Host (i.e., pipes)" |
.It "unix" Ta Dv "AF_UNIX" Ta "Local to Host (i.e., pipes)" |
.El |
.El |
.It Fl h |
.It Fl h |
|
|
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 pcbaddr |
.It Fl P Ar pcbaddr |
Display the contents of the socket or protocol control block (PCB) |
Display the contents of the protocol control block (PCB) |
located at the kernel virtual address |
located at the kernel virtual address |
.Ar pcbaddr . |
.Ar pcbaddr . |
PCB addresses can be obtained using the |
PCB addresses can be obtained using the |
|
|
When used with the |
When used with the |
.Fl v |
.Fl v |
option, also print socket, domain and protocol specific structures. |
option, also print socket, domain and protocol specific structures. |
|
Only the super-user can use this option. |
.It Fl p Ar protocol |
.It Fl p Ar protocol |
Restrict the output to |
Restrict the output to |
.Ar protocol , |
.Ar protocol , |