Re: Display files currently in the buffer cache

From: Scott Long (scottl_at_samsco.org)
Date: 10/31/05

  • Next message: Robert Watson: "Re: Display files currently in the buffer cache"
    Date: Mon, 31 Oct 2005 08:42:36 -0700
    To: Eric Anderson <anderson@centtech.com>
    
    

    Eric Anderson wrote:
    > 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
    >
    >
    >

    Does the FreeBSD VM really have a concept of filenames at all? I
    thought that all it understood was buffer objects and vnodes. And
    since there isn't a strong correlation between vnodes and the filesystem
    namespace, it would be hard to provide such information.

    Scott
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Robert Watson: "Re: Display files currently in the buffer cache"