MEMDUMP(1) | General Commands Manual | MEMDUMP(1) |
NAME¶
memdump - memory dumperSYNOPSIS¶
memdump [-kv] [-b buffer_size] [ -d dump_size] [ -m map_file] [-p page_size]
DESCRIPTION¶
This program dumps system memory to the standard output stream, skipping over holes in memory maps. By default, the program dumps the contents of physical memory ( /dev/mem).
- -k
- Attempt to dump kernel memory (/dev/kmem) rather
than physical memory.
- -b buffer_size (default: 0)
- Number of bytes per memory read operation. By default, the
program uses the page_size value.
- -d dump-size (default: 0)
- Number of memory bytes to dump. By default, the program
runs until the memory device reports an end-of-file (Linux), or until it
has dumped from /dev/mem as much memory as reported present by the
kernel (FreeBSD, Solaris), or until pointer wrap-around happens.
- -m map_file
- Write the memory map to map_file, one entry per line. Specify -m- to write to the standard error stream. Each map entry consists of a region start address and the first address beyond that region. Addresses are separated by space, and are printed as hexadecimal numbers (0xhhhh).
- -p page_size (default: 0)
- Use page_size as the memory page size. By default
the program uses the system page size.
- -v
- Enable verbose logging for debugging purposes. Multiple -v options make the program more verbose.
BUGS¶
On many hardware platforms the firmware (boot PROM, BIOS, etc.) takes away some memory. This memory is not accessible through /dev/mem.
LICENSE¶
This software is distributed under the IBM Public License.
AUTHOR¶
Wietse Venema IBM T.J. Watson Research P.O. Box 704 USA