From owner-freebsd-security Tue Oct 3 9:45:33 2000 Delivered-To: freebsd-security@freebsd.org Received: from bsdie.rwsystems.net (bsdie.rwsystems.net [209.197.223.2]) by hub.freebsd.org (Postfix) with ESMTP id E61C837B502 for ; Tue, 3 Oct 2000 09:45:29 -0700 (PDT) Received: from bsdie.rwsystems.net([209.197.223.2]) (1250 bytes) by bsdie.rwsystems.net via sendmail with P:esmtp/R:bind_hosts/T:inet_zone_bind_smtp (sender: ) id for ; Tue, 3 Oct 2000 11:25:18 -0500 (CDT) (Smail-3.2.0.111 2000-Feb-17 #1 built 2000-Jun-25) Date: Tue, 3 Oct 2000 11:25:18 -0500 (CDT) From: James Wyatt To: Dag-Erling Smorgrav Cc: Michael Bryan , security@FreeBSD.ORG Subject: Re: cvs commit: src/etc inetd.conf In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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@ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message