Display files currently in the buffer cache

Eric Anderson anderson at centtech.com
Mon Oct 31 07:12:05 PST 2005

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 Anderson        Sr. Systems Administrator        Centaur Technology
Anything that works is better than anything that doesn't.

More information about the freebsd-hackers mailing list