Date: Thu, 02 May 2002 07:02:29 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Dag-Erling Smorgrav <des@ofug.org> Cc: arch@FreeBSD.ORG Subject: Re: deperlifying sockstat(1) Message-ID: <76797.1020315749@critter.freebsd.dk> In-Reply-To: Your message of "02 May 2002 00:54:29 %2B0200." <xzp8z73pjh6.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. 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?76797.1020315749>