Linux process memory dumper in BASH
Usage: memory-dump.sh [options]
-p PID Dump memory region of the process which is specified by PID.
-m MEMORY_REGION Dump memory region of process (stack, heap, anon, all).
-d DUMP_METHOD Dump memory method for dumping (gdb, dd).
-v Show script version.