From owner-freebsd-security Tue Oct 3 10:19:17 2000 Delivered-To: freebsd-security@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 304F937B502 for ; Tue, 3 Oct 2000 10:19:13 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.0/8.11.0) id e93HIrP65664; Tue, 3 Oct 2000 20:18:53 +0300 (EEST) (envelope-from ru) Date: Tue, 3 Oct 2000 20:18:53 +0300 From: Ruslan Ermilov To: James Wyatt Cc: security@FreeBSD.ORG Subject: Re: cvs commit: src/etc inetd.conf Message-ID: <20001003201853.A64879@sunbay.com> Mail-Followup-To: James Wyatt , security@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jwyatt@rwsystems.net on Tue, Oct 03, 2000 at 11:25:18AM -0500 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Oct 03, 2000 at 11:25:18AM -0500, James Wyatt wrote: > On 3 Oct 2000, Dag-Erling Smorgrav wrote: > > Michael Bryan writes: > > > A command that I -always- execute on any freshly installed system, and from > > > time to time when checking up on things: > > > > > > netstat -an > > > > Funny way to spell "sockstat except with less information" :) > > More and less. netstat -an is longer, sockstat has more columns. I like > the PID given in sockstat, but is there any way to get them for Unix > domain sockets? I tried "apropos domain" and "(for DIR in `echo $PATH | tr > ':' ' '` ; do ls $DIR 2> /dev/null | grep stat ; done) | more", but > neither gave me much help... - Jy@ > Sure there is, try `netstat -an -funix' followed by `fstat | grep local'. -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message