summaryrefslogtreecommitdiffstats
path: root/usr.bin/sockstat
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-08-10 10:43:45 +0000
committerru <ru@FreeBSD.org>2001-08-10 10:43:45 +0000
commit6b03fce48ef070923efdf37a9eeebad6c58e8d56 (patch)
treec0d7fadf5a3a7db23de6755bcf23e4288ac38076 /usr.bin/sockstat
parent7e122f76a80ace06a35f377c667f1ec3623f9ca0 (diff)
downloadFreeBSD-src-6b03fce48ef070923efdf37a9eeebad6c58e8d56.zip
FreeBSD-src-6b03fce48ef070923efdf37a9eeebad6c58e8d56.tar.gz
mdoc(7) police: fix markup.
Diffstat (limited to 'usr.bin/sockstat')
-rw-r--r--usr.bin/sockstat/sockstat.131
1 files changed, 22 insertions, 9 deletions
diff --git a/usr.bin/sockstat/sockstat.1 b/usr.bin/sockstat/sockstat.1
index 38860be..a29a447 100644
--- a/usr.bin/sockstat/sockstat.1
+++ b/usr.bin/sockstat/sockstat.1
@@ -40,14 +40,20 @@
.Sh DESCRIPTION
The
.Nm
-command lists open Internet or Unix domain sockets.
+command lists open Internet or
+.Ux
+domain sockets.
.Pp
The following options are available:
.Bl -tag -width Fl
.It Fl 4
-Show AF_INET (IPv4) sockets.
+Show
+.Dv AF_INET
+(IPv4) sockets.
.It Fl 6
-Show AF_INET6 (IPv6) sockets.
+Show
+.Dv AF_INET6
+(IPv6) sockets.
.It Fl c
Show connected sockets.
.It Fl l
@@ -60,12 +66,14 @@ The
argument is a comma-separated list of port numbers and ranges
specified as first and last port separated by a dash.
.It Fl u
-Show AF_LOCAL (Unix) sockets.
+Show
+.Dv AF_LOCAL
+.Pq Ux
+sockets.
.El
.Pp
If neither
-.Fl 4 ,
-.Fl 6
+.Fl 4 , 6
or
.Fl u
is specified,
@@ -93,12 +101,17 @@ The process ID of the command which holds the socket.
The file descriptor number of the socket.
.It Li PROTO
The transport protocol associated with the socket for Internet
-sockets, or the type of socket (stream or datagram) for Unix sockets.
+sockets, or the type of socket (stream or datagram) for
+.Ux
+sockets.
.It Li ADDRESS
-(Unix sockets only)
+.No ( Ux
+sockets only)
For bound sockets, this is the filename of the socket.
For other sockets, it is the name, PID and file descriptor number of
-the peer, or "(none)" if the socket is neither bound nor connected.
+the peer, or
+.Dq Li "(none)"
+if the socket is neither bound nor connected.
.It Li LOCAL ADDRESS
(Internet sockets only)
The address the local end of the socket is bound to (see
OpenPOWER on IntegriCloud