Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 May 2002 22:59:53 -0700 (PDT)
From:      Julian Elischer <julian@elischer.org>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Poul-Henning Kamp <phk@critter.freebsd.dk>, Dag-Erling Smorgrav <des@ofug.org>, arch@FreeBSD.ORG
Subject:   Re: deperlifying sockstat(1) 
Message-ID:  <Pine.BSF.4.21.0205022258430.80897-100000@InterJet.elischer.org>
In-Reply-To: <20020503034140.C4801-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <xzp8z73pjh6.fsf@flood.ping.uio.no>, 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0205022258430.80897-100000>