Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ filemem(1) — OPENSTEP 4.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pagestuff(1)

filemem(1)  —  UNIX Programmer’s Manual

NAME

filemem − show a list of a file’s pages cached in memory

SYNOPSIS

filemem filename

DESCRIPTION

Filemem is a utility that can determine which pages of a file are cached in memory.  In Mach, pages of a file are cached on demand by page faults.  Pages remain in memory even after they become unreferenced, and are released when memory becomes scarce. 

Filemem provides a way to determine which parts of a file are being used.  For example, filemem can be used to help scatterload a file by showing which parts of an executable image are in memory after a certain operation.  After determining which pages are resident in memory, the program pagestuff(1) can be used to show the symbols residing on that particular page of a file. 

The output of filemem is a list of logical page numbers, starting from page zero at the beginning of the file.  The page size is the same as the machine-independent page size of the system. 

FILES

/dev/kmem

SEE ALSO

pagestuff(1), Link Optimization developer release notes

NeXT Computer, Inc.  —  October 5, 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026