lkml.org 
[lkml]   [2006]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Determine Files or Blocks in Page Cache
From
Date
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/

\
 
 \ /
  Last update: 2006-02-19 21:25    [W:0.023 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site