From owner-freebsd-questions Tue Jan 15 2:49:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from Mail6.nc.rr.com (fe6.southeast.rr.com [24.93.67.53]) by hub.freebsd.org (Postfix) with ESMTP id CDCD037B404 for ; Tue, 15 Jan 2002 02:49:41 -0800 (PST) Received: from there ([66.57.85.154]) by Mail6.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Tue, 15 Jan 2002 05:49:36 -0500 Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: Christopher Schulte , "Mike Meyer" Subject: lsof vs. fstat Date: Tue, 15 Jan 2002 05:49:10 -0500 X-Mailer: KMail [version 1.3] Cc: questions@FreeBSD.ORG References: <71952277@toto.iv> <5.1.0.14.0.20020114101809.04018490@pop3s.schulte.org> In-Reply-To: <5.1.0.14.0.20020114101809.04018490@pop3s.schulte.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: <0a1123649100f12FE6@Mail6.nc.rr.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday 14 January 2002 11:21 am, Christopher Schulte wrote: > > Use lsof ( /usr/ports/sysutils/lsof ) and HUP only the listening sshd > process. Does lsof have some advantage over fstat? I posted a while ago mentioning lsof, which had been recomemnded to me by regular FreeBSD users, and somebody here pointed out that fstat is in the base system. It seems to do what I used lsof for, so I just aliased lsof to fstat when I restaged my machine recently. Am I missing out on something or is fstat just not well-known? > > --chris -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) http://www.babbleon.org -------> Free Dmitry Sklyarov! (let him go home) <----------- http://www.eff.org http://www.programming-freedom.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message