GNU/Linux xterm-256color bash 618 views

See the (Linux) procmap utility in action on an x86_64 Ubuntu 24.04 LTS box! This util displays both the kernel and user Virtual Address Spaces (VAS) in detail, in an intuitive console-based display ‘drawing’.

Here, we run it specifying the process PID as 1, i.e., the ‘init’ process which of course on modern Linus is typically systemd. The output shows both the kernel and user VAS of the process in detail: the name of every memory region (technically, mapping), it’s size, permissions, mapping type (pvt / shared as p / s), offset from beginning of file (if a file mapping), and the virtual address where it’s mapped.

(Like it!? Please Star the project on GitHub and contribute! https://github.com/kaiwan/procmap )