History log of /freebsd-9.3-release/usr.bin/sockstat/sockstat.1
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 237671 27-Jun-2012 thompsa

MFC r235870

Allow the socket list to be limited to a specific jail id.


# 231779 15-Feb-2012 jilles

MFC r230512: sockstat: Also show sockets not associated with a descriptor.

Sockets not associated with a file descriptor include TCP TIME_WAIT states
and sockets created via the socket(9) API such as from rpc.lockd and the NFS
client.

PR: bin/164081


# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 200779 21-Dec-2009 des

Note that sockstat(1) does not display kernel-owned sockets.

Submitted by: infofarmer@
MFC after: 2 weeks


# 195502 09-Jul-2009 trasz

Add manual page links to advertise procstat(1) a little better.

Approved by: re (kib)


# 179115 19-May-2008 bms

Add an -L option to ignore loopback Internet sockets.

MFC after: 2 weeks


# 164201 11-Nov-2006 keramida

Add support for filtering sockets by protocol type. The default
behavior of sockstat(1) will still be to show "udp", "tcp" and
"divert" protocols, but we can now provide a (comma-separated)
list of protocols, as in:

% sockstat -P tcp

to list only TCP sockets, or we can filter more than one protocol
by separating the protocol names with a comma:

% sockstat -P tcp,udp

Protocol names are parsed with getprotobyname(3), so any protocol
whose name is listed in `/etc/protocols' should work fine.

Submitted by: Josh Carroll <josh.carroll@psualum.com>
Approved by: des


# 140055 11-Jan-2005 ru

Scheduled mdoc(7) sweep.


# 134295 25-Aug-2004 roam

Do not display bogus entries for sockets in the TIME_WAIT or similar
states that no longer have a corresponding file descriptor - until now,
sockstat would mostly randomly match null kern.file.*.xf_data fields
with the first mostly-closed socket.

This bugfix is a RELENG_5 candidate.

Approved by: andre


# 107276 26-Nov-2002 ru

mdoc(7) police: markup polishing.

Approved by: re


# 101043 31-Jul-2002 des

Rewrite sockstat(1) in C.

Sponsored by: DARPA, NAI Labs


# 81588 13-Aug-2001 ru

Spell "FreeBSD" with "F" and "BSD" in uppercase.


# 81430 10-Aug-2001 ru

mdoc(7) police: fix markup.


# 81259 07-Aug-2001 des

Allow the user to specify port ranges against which to match inet sockets.

Suggested by: roam


# 79535 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


# 73880 06-Mar-2001 des

Add (and document) options for showing only listening or connected sockets.


# 71102 16-Jan-2001 ru

Prepare for mdoc(7)NG.


# 70022 14-Dec-2000 ru

mdoc(7) police: added missing .Os call.


# 68718 14-Nov-2000 ru

Spell the des's name correctly.


# 66790 07-Oct-2000 des

Document the fact that sockstat now lists Unix domain sockets, and the new
command-line options for selecting what to display.


# 58625 26-Mar-2000 charnier

Do not dot terminate list of references


# 57670 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 57494 26-Feb-2000 shin

Update sockstat to support INET6 socket printing.

Approved by: jkh

Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
Reviewed by: des


# 51015 06-Sep-1999 sheldonh

Add xrefs to the {f,net,sock}stat.1 manpages. While I'm in there, fix
the sockstat.1 document title, which still remembers when sockstat was
called lsock.

Reviewed by: mpp


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 48644 06-Jul-1999 des

Use -finet option to netstat(1), and don't discard anything.
Don't truncate the protocol field.
These two changes conspire to make sockstat(1) show divert sockets.

Submitted by: ru


# 45699 15-Apr-1999 des

Rename lsock(1) to sockstat(1).

Suggested by: Sheldon Hearn <sheldonh@iafrica.com>
Approved by: Peter Wemm <peter@netplex.com.au>