Deleted Added
full compact
sockstat.1 (81588) sockstat.1 (101043)
1.\"-
2.\" Copyright (c) 1999 Dag-Erling Co�dan Sm�rgrav
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\"
1.\"-
2.\" Copyright (c) 1999 Dag-Erling Co�dan Sm�rgrav
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\"
28.\" $FreeBSD: head/usr.bin/sockstat/sockstat.1 81588 2001-08-13 16:33:00Z ru $
28.\" $FreeBSD: head/usr.bin/sockstat/sockstat.1 101043 2002-07-31 12:32:03Z des $
29.\"
30.Dd August 7, 2001
31.Dt SOCKSTAT 1
32.Os
33.Sh NAME
34.Nm sockstat
35.Nd list open sockets
36.Sh SYNOPSIS

--- 62 unchanged lines hidden (view full) ---

99The process ID of the command which holds the socket.
100.It Li FD
101The file descriptor number of the socket.
102.It Li PROTO
103The transport protocol associated with the socket for Internet
104sockets, or the type of socket (stream or datagram) for
105.Ux
106sockets.
29.\"
30.Dd August 7, 2001
31.Dt SOCKSTAT 1
32.Os
33.Sh NAME
34.Nm sockstat
35.Nd list open sockets
36.Sh SYNOPSIS

--- 62 unchanged lines hidden (view full) ---

99The process ID of the command which holds the socket.
100.It Li FD
101The file descriptor number of the socket.
102.It Li PROTO
103The transport protocol associated with the socket for Internet
104sockets, or the type of socket (stream or datagram) for
105.Ux
106sockets.
107.It Li ADDRESS
108.No ( Ux
109sockets only)
110For bound sockets, this is the filename of the socket.
111For other sockets, it is the name, PID and file descriptor number of
112the peer, or
113.Dq Li "(none)"
114if the socket is neither bound nor connected.
115.It Li LOCAL ADDRESS
107.It Li LOCAL ADDRESS
116(Internet sockets only)
117The address the local end of the socket is bound to (see
108For Internet sockets, this is the address the local end of the socket
109is bound to (see
118.Xr getsockname 2 ) .
110.Xr getsockname 2 ) .
111For bound
112.Ux
113sockets, it is the socket's filename.
114For other
115.Ux
116sockets, it is a right arrow followed by the endpoint's filename, or
117.Dq Li ??
118if the endpoint could not be determined.
119.It Li FOREIGN ADDRESS
120(Internet sockets only)
121The address the foreign end of the socket is bound to (see
122.Xr getpeername 2 ) .
123.El
124.Sh SEE ALSO
125.Xr fstat 1 ,
126.Xr netstat 1 ,

--- 12 unchanged lines hidden ---
119.It Li FOREIGN ADDRESS
120(Internet sockets only)
121The address the foreign end of the socket is bound to (see
122.Xr getpeername 2 ) .
123.El
124.Sh SEE ALSO
125.Xr fstat 1 ,
126.Xr netstat 1 ,

--- 12 unchanged lines hidden ---