Date: Tue, 3 Oct 2000 20:18:53 +0300 From: Ruslan Ermilov <ru@sunbay.com> To: James Wyatt <jwyatt@rwsystems.net> Cc: security@FreeBSD.ORG Subject: Re: cvs commit: src/etc inetd.conf Message-ID: <20001003201853.A64879@sunbay.com> In-Reply-To: <Pine.BSF.4.10.10010031119410.18021-100000@bsdie.rwsystems.net>; from jwyatt@rwsystems.net on Tue, Oct 03, 2000 at 11:25:18AM -0500 References: <xzpg0mei9za.fsf@flood.ping.uio.no> <Pine.BSF.4.10.10010031119410.18021-100000@bsdie.rwsystems.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 03, 2000 at 11:25:18AM -0500, James Wyatt wrote: > On 3 Oct 2000, Dag-Erling Smorgrav wrote: > > Michael Bryan <fbsd-security@ursine.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001003201853.A64879>
