From owner-freebsd-doc Wed Feb 19 11:20: 6 2003 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16CC737B401 for ; Wed, 19 Feb 2003 11:20:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 182DE43FAF for ; Wed, 19 Feb 2003 11:20:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1JJK2NS079100 for ; Wed, 19 Feb 2003 11:20:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1JJK2cs079099; Wed, 19 Feb 2003 11:20:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E59B37B401 for ; Wed, 19 Feb 2003 11:16:34 -0800 (PST) Received: from mout0.freenet.de (mout0.freenet.de [194.97.50.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9096943F85 for ; Wed, 19 Feb 2003 11:16:33 -0800 (PST) (envelope-from dot.bomb@freenet.de) Received: from [194.97.50.144] (helo=mx1.freenet.de) by mout0.freenet.de with asmtp (Exim 4.12) id 18lZhn-0007jw-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 19 Feb 2003 20:16:31 +0100 Received: from b935a.pppool.de ([213.7.147.90] helo=charon.freenet.de) by mx1.freenet.de with esmtp (Exim 4.12 #2) id 18lZhm-00078C-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 19 Feb 2003 20:16:31 +0100 Received: by charon.freenet.de (Postfix, from userid 1000) id F081F105; Wed, 19 Feb 2003 20:21:15 +0000 (GMT) Message-Id: <20030219202115.F081F105@charon.freenet.de> Date: Wed, 19 Feb 2003 20:21:15 +0000 (GMT) From: Peter Philipp Reply-To: Peter Philipp To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/48466: Document undocumented option -l in netstat. Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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