From: John Kohl <jtk@atria.com>
Subject: buffer cache inventory for a file?
Date: 1996/12/09 [thread overview]
Message-ID: <6cengza1ul.fsf@mango.atria.com> (raw)
Does anybody have suggestions on how to check which pages of a file are
in memory in the system cache on Digital UNIX?
On Solaris 2.x, there is an mincore() function which will describe the
page present/absent state of virtual memory regions. This makes for an
easy tool to check page cache residency (just mmap() the file and call
mincore()).
I don't see anything similar on Digital UNIX or HP/UX. Any suggestions
(short of walking page tables via /dev/kmem--yecch)?
--
John Kohl <John.Kohl@pureatria.com> or <jtkohl@mit.edu>
working for but not representing: Pure Atria
sometimes hacking on: NetBSD/i386
Member of the League for Programming Freedom--inquire at league@prep.ai.mit.edu
reply other threads:[~1996-12-09 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox