aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/sockstat
Commit message (Collapse)AuthorAgeFilesLines
* Spell the des's name correctly.Ruslan Ermilov2000-11-141-1/+1
| | | | Notes: svn path=/head/; revision=68718
* Skip sockets with no SCBDag-Erling Smørgrav2000-10-131-0/+2
| | | | Notes: svn path=/head/; revision=67079
* Document the fact that sockstat now lists Unix domain sockets, and the newDag-Erling Smørgrav2000-10-071-3/+27
| | | | | | | command-line options for selecting what to display. Notes: svn path=/head/; revision=66790
* Total rewrite. This was actually the first non-trivial Perl script I everDag-Erling Smørgrav2000-10-071-26/+129
| | | | | | | | | | | | | | | wrote, and as such was not very pretty. Changes that may cause problems for people who use sockstat in scripts: - sockstat(8) now displays Unix domain sockets in addition to IPv4 and IPv6 - the last period in local and foreign addresses is changed to a colon to make the port number easier to spot - IPv4 and IPv6 sockets are listed separately (IPv4 first, then IPv6, then Unix) Notes: svn path=/head/; revision=66789
* Restore support for displaying raw IPv4 sockets andRuslan Ermilov2000-08-301-2/+2
| | | | | | | | | correct the author's name. Were broken in rev 1.6. Approved by: des Notes: svn path=/head/; revision=65259
* Invoke netstat(1) and fstat(1) with full path.Dag-Erling Smørgrav2000-08-301-2/+2
| | | | Notes: svn path=/head/; revision=65249
* Do not dot terminate list of referencesPhilippe Charnier2000-03-261-1/+1
| | | | Notes: svn path=/head/; revision=58625
* Prevent sockstat print out some empty entries related to IPv6.Yoshinobu Inoue2000-03-111-2/+2
| | | | | | | | | | | | | Sockstat use netstat tcp/udp socket print, and fstat tcp/udp socket print, but it just specify all of IPPROTO_IP and IPPROTO_IPV6 sockets for fstat. Now IPv6 socket also use raw socket, but only netstat don't print it, so now they are printed as empty entries in sockstat output. Approved by: jkh Notes: svn path=/head/; revision=57905
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57670
* Update sockstat to support INET6 socket printing.Yoshinobu Inoue2000-02-262-6/+10
| | | | | | | | | | Approved by: jkh Submitted by: Ben Smithurst <ben@scientia.demon.co.uk> Reviewed by: des Notes: svn path=/head/; revision=57494
* Add xrefs to the {f,net,sock}stat.1 manpages. While I'm in there, fixSheldon Hearn1999-09-061-1/+1
| | | | | | | | | | the sockstat.1 document title, which still remembers when sockstat was called lsock. Reviewed by: mpp Notes: svn path=/head/; revision=51015
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50477
* Use -finet option to netstat(1), and don't discard anything.Dag-Erling Smørgrav1999-07-062-11/+10
| | | | | | | | | | Don't truncate the protocol field. These two changes conspire to make sockstat(1) show divert sockets. Submitted by: ru Notes: svn path=/head/; revision=48644
* Don't use STDOUT_TOP.Dag-Erling Smørgrav1999-05-011-3/+3
| | | | | | | Submitted by: Christopher Masto <chris@netmonger.net> Notes: svn path=/head/; revision=46222
* Rename lsock(1) to sockstat(1).Dag-Erling Smørgrav1999-04-153-0/+146
Suggested by: Sheldon Hearn <sheldonh@iafrica.com> Approved by: Peter Wemm <peter@netplex.com.au> Notes: svn path=/head/; revision=45699