From owner-freebsd-arch Wed May 1 15:54:36 2002 Delivered-To: freebsd-arch@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 3AF0637B416 for ; Wed, 1 May 2002 15:54:34 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 970225346; Thu, 2 May 2002 00:54:30 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: arch@freebsd.org Subject: deperlifying sockstat(1) From: Dag-Erling Smorgrav Date: 02 May 2002 00:54:29 +0200 Message-ID: Lines: 9 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 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'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? DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message