/proc/PID/maps

2025-04-02

/proc/PID/maps is a file on procfs-enabled systems that shows the memory map of a process.

It lists all memory regions used by the process, including executable code, shared libraries, heap, stack, and memory-mapped files. Each line shows the start/end addresses, permissions, offset, device, inode, and mapped file (if any).