From owner-freebsd-arch Thu May 2 23: 0:37 2002 Delivered-To: freebsd-arch@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id C293137B416 for ; Thu, 2 May 2002 23:00:33 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020503060033.NCDB5896.rwcrmhc53.attbi.com@InterJet.elischer.org>; Fri, 3 May 2002 06:00:33 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id WAA80947; Thu, 2 May 2002 22:59:54 -0700 (PDT) Date: Thu, 2 May 2002 22:59:53 -0700 (PDT) From: Julian Elischer To: Bruce Evans Cc: Poul-Henning Kamp , Dag-Erling Smorgrav , arch@FreeBSD.ORG Subject: Re: deperlifying sockstat(1) In-Reply-To: <20020503034140.C4801-100000@gamplex.bde.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have used it from time to time with Netstat and fstat to try find which process had the suspect session.. On Fri, 3 May 2002, Bruce Evans wrote: > On Wed, 1 May 2002, Julian Elischer wrote: > > > On Thu, 2 May 2002, Poul-Henning Kamp wrote: > > > > > In message , Dag-Erling Smorgrav writes: > > > >I'm working on a C version of sockstat(1), and to complete it I need > > > >to do nasty stuff like using libkvm and defining _KERNEL before > > > >including some headers (see fstat). I'm starting to think that it > > > >would be easier to just make a kern.sockstat sysctl node, and make > > > >sockstat(1) a #!/bin/sh wrapper around sysctl(8). Ideas? > > > > > > sysctl is way better than libkvm because it provides a chance > > > for presentation. > > > > unless sockstat gets a -N -M capacity such as teh other similar programs.. > > Who uses this? No one complained when it was broken for vmstat -m. > > Bruce > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message