Andrew Thompson
00feaafdf8
Allow the socket list to be limited to a specific jail id.
...
No objections: current@
2012-05-24 01:31:10 +00:00
Jilles Tjoelker
61149f8d7c
sockstat: Also show sockets not associated with a file 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
MFC after: 2 weeks
No objection: des
2012-01-24 21:33:34 +00:00
Ulrich Spörlein
fb2ad9d3a4
Reencode files from latin1 to UTF-8.
...
This makes a tiny percentage of entries in calendars ugly for latin1
users, but fixes them for UTF-8 users.
This badly needs a solution involving locale-dependent re-encoding.
2011-12-30 10:59:15 +00:00
Dag-Erling Smørgrav
fcdb43ba01
Note that sockstat(1) does not display kernel-owned sockets.
...
Submitted by: infofarmer@
MFC after: 2 weeks
2009-12-21 17:23:04 +00:00
Edward Tomasz Napierala
e50022797f
Add manual page links to advertise procstat(1) a little better.
...
Approved by: re (kib)
2009-07-09 16:40:00 +00:00
Bruce M Simpson
9b6ca89250
Add an -L option to ignore loopback Internet sockets.
...
MFC after: 2 weeks
2008-05-19 11:32:44 +00:00
Giorgos Keramidas
1f3d67aade
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
2006-11-11 22:11:54 +00:00
Ruslan Ermilov
4438d91ea2
Scheduled mdoc(7) sweep.
2005-01-11 10:32:52 +00:00
Peter Pentchev
97c6143c95
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
2004-08-25 16:36:17 +00:00
Ruslan Ermilov
06e482e60a
mdoc(7) police: markup polishing.
...
Approved by: re
2002-11-26 17:33:37 +00:00
Dag-Erling Smørgrav
ca007d9172
Rewrite sockstat(1) in C.
...
Sponsored by: DARPA, NAI Labs
2002-07-31 12:32:03 +00:00
Ruslan Ermilov
c5e7e03a14
Spell "FreeBSD" with "F" and "BSD" in uppercase.
2001-08-13 16:33:00 +00:00
Ruslan Ermilov
3ce0d6e846
mdoc(7) police: fix markup.
2001-08-10 10:43:45 +00:00
Dag-Erling Smørgrav
03f28475f8
Allow the user to specify port ranges against which to match inet sockets.
...
Suggested by: roam
2001-08-07 19:59:52 +00:00
Ruslan Ermilov
625003720a
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
Dag-Erling Smørgrav
a0581bbcc2
Add (and document) options for showing only listening or connected sockets.
2001-03-06 13:48:38 +00:00
Ruslan Ermilov
1bfea903ed
Prepare for mdoc(7)NG.
2001-01-16 09:39:23 +00:00
Ruslan Ermilov
88544700ca
mdoc(7) police: added missing .Os call.
2000-12-14 13:58:15 +00:00
Ruslan Ermilov
b82f5db0ac
Spell the des's name correctly.
2000-11-14 13:19:26 +00:00
Dag-Erling Smørgrav
ac1070c6fe
Document the fact that sockstat now lists Unix domain sockets, and the new
...
command-line options for selecting what to display.
2000-10-07 14:11:43 +00:00
Philippe Charnier
f57cdd0f01
Do not dot terminate list of references
2000-03-26 14:56:52 +00:00
Sheldon Hearn
87faa07bec
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.
2000-03-01 12:20:22 +00:00
Yoshinobu Inoue
482ca4274b
Update sockstat to support INET6 socket printing.
...
Approved by: jkh
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
Reviewed by: des
2000-02-26 02:56:16 +00:00
Sheldon Hearn
5ff829fdbf
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
1999-09-06 13:14:24 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Dag-Erling Smørgrav
14802b6092
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
1999-07-06 19:12:31 +00:00
Dag-Erling Smørgrav
5827850902
Rename lsock(1) to sockstat(1).
...
Suggested by: Sheldon Hearn <sheldonh@iafrica.com>
Approved by: Peter Wemm <peter@netplex.com.au>
1999-04-15 13:40:43 +00:00