fincore ("File IN CORE") is a command that shows which pages (blocks) of a file are in core memory. It is particularly useful for determining the contents of the buffer-cache. The latest distribution can be found at
http://pages.cs.wisc.edu/~plonka/fincore/