Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* buffer cache inventory for a file?
@ 1996-12-09  5:00 John Kohl
  0 siblings, 0 replies; only message in thread
From: John Kohl @ 1996-12-09  5:00 UTC (permalink / 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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-12-09  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-09  5:00 buffer cache inventory for a file? John Kohl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox