.TH ANALYZE 8 "4 February 1983"
analyze \- Virtual UNIX postmortem crash analyzer
is the post-mortem analyzer for the state of the paging system.
you must arrange to get a image of the memory (and possibly the
paging area) of the system after it crashes (see
program reads the relevant system data structures from the core
image file and indexing information from
to determine the state of the paging subsystem at the point of crash.
It looks at each process in the system, and the resources each is
using in an attempt to determine inconsistencies in the paging system
state. Normally, the output consists of a sequence of lines showing
each active process, its state (whether swapped in or not), its
and the number and location of its page table pages.
Any pages which are locked while raw i/o is in progress, or which
are locked because they are
are also printed. (Intransit text pages often diagnose as duplicated;
you will have to weed these out by hand.)
The program checks that any pages in core which are marked as not
modified are, in fact, identical to the swap space copies.
It also checks for non-overlap of the swap space, and that the core
map entries correspond to the page tables.
The state of the free list is also checked.
causes the diskmap for each process to be printed.
causes the (sorted) paging area usage to be printed.
which causes the free list to be dumped.
causes the entire coremap state to be dumped.
(long unused) which causes a hugely verbose output format to be used.
In general, the output from this program can be confused by processes
which were forking, swapping, or exiting or
happened to be in unusual states when the
crash occurred. You should examine the flags fields of relevant processes
to weed out such processes.
It is possible to look at the core dump with
/vmunix default system namelist
adb(1), ps(1), crash(8V), pstat(8)
Ozalp Babaoglu and William Joy
Various diagnostics about overlaps in swap mappings, missing swap mappings,
page table entries inconsistent with the core map, incore pages which
are marked clean but differ from disk-image copies, pages which are
locked or intransit, and inconsistencies in the free list.
It would be nice if this program analyzed the system in general, rather
than just the paging system in particular.