From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 31 15:12:05 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 958A016A41F for ; Mon, 31 Oct 2005 15:12:05 +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 35F2043D45 for ; Mon, 31 Oct 2005 15:12:04 +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 j9VFC3ko007616; Mon, 31 Oct 2005 09:12:03 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <43663443.2090802@centtech.com> Date: Mon, 31 Oct 2005 09:12:03 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051021 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kirkwood References: <43633948.5030801@paradise.net.nz> In-Reply-To: <43633948.5030801@paradise.net.nz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.82/1150/Sun Oct 30 05:20:38 2005 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: Display files currently in the buffer cache 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: Mon, 31 Oct 2005 15:12:05 -0000 Mark Kirkwood wrote: > Dear hackers, > > I'm interested in being able to display some data about the contents of > the buffer cache , say file name and page offset (something like IRIX's > 'bufview'). > > Is there any utilities that do this currently? (searched around but > didn't see anything in ports). > > Assuming not, is it feasible to write one to do this? (if so, any > pointers appreciated - massive FreeBSD internals newbie here....). This would be a cool tool! I've been thinking of that too, and also would like to have a lkdump tool - which dumps information about currently locked files. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------