Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2003 20:21:15 +0000 (GMT)
From:      Peter Philipp <dot.bomb@freenet.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/48466: Document undocumented option -l in netstat.
Message-ID:  <20030219202115.F081F105@charon.freenet.de>

next in thread | raw e-mail | index | archive | help

>Number:         48466
>Category:       docs
>Synopsis:       Document undocumented option -l in netstat.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 19 11:20:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Peter Philipp
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
Free
>Environment:
System: FreeBSD charon 4.6-RELEASE FreeBSD 4.6-RELEASE #1: Sun Feb 9 17:49:46 GMT 2003 pbug@charon:/usr/src/sys/compile/FBSD i386

>Description:
netstat has support for option -l in FreeBSD but does not mention it in the
manpage.  Match documentation with reality.
>How-To-Repeat:
Wondering what the option -l in netstat does.
>Fix:
Patch to netstat.1 follows:

--- /usr/tmp/usr.bin/netstat/netstat.1	Sun Nov 18 16:41:52 2001
+++ netstat.1	Wed Feb 19 17:07:22 2003
@@ -49,7 +49,7 @@
 .It Xo
 .Bk -words
 .Nm
-.Op Fl AaLnSW
+.Op Fl AaLlnSW
 .Op Fl f Ar protocol_family | Fl p Ar protocol
 .Op Fl M Ar core
 .Op Fl N Ar system
@@ -189,7 +189,7 @@
 .Bk -words
 .Nm
 .Fl r
-.Op Fl AanW
+.Op Fl AalnW
 .Op Fl f Ar address_family
 .Op Fl M Ar core
 .Op Fl N Ar system
@@ -233,7 +233,7 @@
 .Bk -words
 .Nm
 .Fl g
-.Op Fl W
+.Op Fl lW
 .Op Fl f Ar address_family
 .Op Fl M Ar core
 .Op Fl N Ar system
@@ -293,6 +293,9 @@
 The program will complain if
 .Ar protocol
 is unknown or if there is no statistics routine for it.
+.It Fl l
+Is synonymous for 
+.Fl W .
 .It Fl M
 Extract values associated with the name list from the specified core
 instead of the default
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030219202115.F081F105>