Messages in this thread | | | Subject | Re: Determine Files or Blocks in Page Cache | From | Arjan van de Ven <> | Date | Sun, 19 Feb 2006 21:20:09 +0100 |
| |
On Sun, 2006-02-19 at 15:11 -0500, Chase Douglas wrote: > I'm doing some research with servers and would like to know if there's > any reasonable way to determine which files or blocks of files are being > cached at any given time.
which files is hard currently; which blocks of a file you can get by mmaping the file and then using the mincore() syscall..
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |