From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 13 11:34:26 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31AD316A420 for ; Thu, 13 Oct 2005 11:34:26 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 884A543D64 for ; Thu, 13 Oct 2005 11:34:24 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j9DBYOR4078707 for ; Thu, 13 Oct 2005 06:34:24 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <434E462B.2030400@centtech.com> Date: Thu, 13 Oct 2005 06:34:03 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.11) Gecko/20050914 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <434BFE72.1090807@centtech.com> In-Reply-To: <434BFE72.1090807@centtech.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1131/Wed Oct 12 15:35:32 2005 on mh1.centtech.com X-Virus-Status: Clean Subject: Re: ufsstat - testers / feedback wanted! X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Oct 2005 11:34:26 -0000 Eric Anderson wrote: > I've just finished the first version of ufsstat, a tool to show local > filesystem statistics much like nfsstat does for NFS. The patch and > tool is against 6.0, but it will probably apply and work fine under > -CURRENT and possibly 5.x as well. > > I'm looking for bug reports, comments/suggestions on style(9), and > anything else, since this is my first C project, and of course first > real FreeBSD contribution. :) > > To use it, do this: > cd /tmp > fetch http://www.googlebit.com/software/ufsstat/ufsstat-20051011.tar.gz > cd /usr > tar xvzf /tmp/ufsstat-20051011.tar.gz > patch <./ufsstats.patch > > add: > OPTIONS UFSSTAT > to your kernel. > > Rebuild and install world/kernel. Correction to the above: add: OPTIONS UFS_STAT to your kernel. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------