diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2015-07-16 13:09:21 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2015-07-16 13:09:21 +0000 |
commit | 7a5642b3a125adfa4834c51574f2996e37384b49 (patch) | |
tree | 6a9d75d4c2498befea2203c4cf65be618b36e3ee /usr.bin/sockstat/sockstat.1 | |
parent | 1ef630fb33b7fc5fc2eaa19016b8142045a4cfe0 (diff) | |
download | src-7a5642b3a125adfa4834c51574f2996e37384b49.tar.gz src-7a5642b3a125adfa4834c51574f2996e37384b49.zip |
Add a -s option which adds a column listing the connection state if
applicable (currently only for TCP).
PR: 201585
MFC after: 3 weeks
Notes
Notes:
svn path=/head/; revision=285630
Diffstat (limited to 'usr.bin/sockstat/sockstat.1')
-rw-r--r-- | usr.bin/sockstat/sockstat.1 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/sockstat/sockstat.1 b/usr.bin/sockstat/sockstat.1 index 280fc2c70245..05faf3b66e4d 100644 --- a/usr.bin/sockstat/sockstat.1 +++ b/usr.bin/sockstat/sockstat.1 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd June 20, 2015 +.Dd July 14, 2015 .Dt SOCKSTAT 1 .Os .Sh NAME @@ -35,7 +35,7 @@ .Nd list open sockets .Sh SYNOPSIS .Nm -.Op Fl 46cLlu +.Op Fl 46cLlsu .Op Fl j Ar jid .Op Fl p Ar ports .Op Fl P Ar protocols @@ -83,6 +83,9 @@ The argument is a comma-separated list of protocol names, as they are defined in .Xr protocols 5 . +.It Fl s +Display the protocol state, if applicable. +This is currently only implemented for TCP. .It Fl u Show .Dv AF_LOCAL |