From owner-freebsd-arch Thu May 2 17:29: 3 2002 Delivered-To: freebsd-arch@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id C342137B404 for ; Thu, 2 May 2002 17:28:58 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g430Sw407934 for ; Thu, 2 May 2002 17:28:58 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 6C00338FF; Thu, 2 May 2002 17:28:58 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Bruce Evans Cc: Julian Elischer , Poul-Henning Kamp , Dag-Erling Smorgrav , arch@FreeBSD.ORG Subject: Re: deperlifying sockstat(1) In-Reply-To: <20020503034140.C4801-100000@gamplex.bde.org> Date: Thu, 02 May 2002 17:28:58 -0700 From: Peter Wemm Message-Id: <20020503002858.6C00338FF@overcee.wemm.org> 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 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. We do (at work). We also backed out the netstat breakage that Garrett committed that broke that functionality too. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message