HP-UX Reference (11i v1 05/09) - 7 Device (Special) Files, 9 General Information, Index (vol 10)

m
mem(7) mem(7)
NAME
mem - main memory
DESCRIPTION
mem is a special file that is an image of the main memory of the computer. It may be used, for example, to
examine and patch the system.
Byte addresses in mem are interpreted as physical memory addresses. References to non-existent locations
cause errors to be returned.
File kmem is the same as mem except that kernel virtual memory rather than physical memory is accessed.
Please refer to kmem(7) for information about ioctl operations that are supported on
/dev/kmem.
WARNINGS
Examining and patching device registers is likely to lead to unexpected results when read-only or write-
only bits are present.
FILES
/dev/mem
/dev/kmem
SEE ALSO
kmem(7).
HP-UX 11i Version 1: September 2005 1 Hewlett-Packard Company Section 769