Date: Wed, 1 May 2002 16:03:38 -0700 From: Alfred Perlstein <bright@mu.org> To: Dag-Erling Smorgrav <des@ofug.org> Cc: arch@freebsd.org Subject: Re: deperlifying sockstat(1) Message-ID: <20020501230338.GI98487@elvis.mu.org> In-Reply-To: <xzp8z73pjh6.fsf@flood.ping.uio.no> References: <xzp8z73pjh6.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
* Dag-Erling Smorgrav <des@ofug.org> [020501 15:54] wrote: > 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? What's wrong with extending the mess already in fstat or just popen()'ing it like the current sockstat does? -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/ 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?20020501230338.GI98487>