Essential System Utils

process-map – visualize the virtual memory of a process

process-map is a graphical utility that visualises the virtual memory layout of a running Linux process. It presents the process’s address space as a two-dimensional map, showing where executable code, shared libraries and other memory regions are located.

The software was developed primarily as an educational tool. Its purpose is to help users understand how a process occupies virtual memory and how its threads move between different parts of the address space during execution.

It is important to distinguish process-map from a conventional memory profiler. The program samples thread instruction pointers and displays their locations, but it does not measure CPU time, memory allocation frequency or whether a thread is actively performing useful work.

This is free and open source software.

Key Features

  • Displays the virtual address space of a selected Linux process as an interactive two-dimensional map.
  • Visualises individual threads as moving dots positioned at their sampled instruction pointers.
  • Shows public symbols from executable files and shared libraries, helping identify the code regions occupied by different functions.
  • Supports zooming with the mouse wheel and panning by dragging the map.
  • Allows a particular task to be selected from a list, restricting the displayed thread markers to that task.
  • Uses Linux ptrace facilities to inspect thread execution addresses, requiring appropriate privileges to access the target process.
  • Uses raylib for graphical rendering and can be compiled directly from its source repository.

Website: github.com/arkanis/process-map
Support:
Developer: Stephan Soller
License: MIT License

process-map in action

process-map is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Process Memory Tools
ps_memAccurately reports memory usage of programs
pscircleVisualizes Linux processes in a form of radial tree
psrecordRecord the CPU and memory activity of a process
smem2Reports on memory usage on Linux systems
process-memDisplay memory used by processes
process-mapVisualize the virtual memory of a process
SmemstatReports the physical memory usage
mstatMeasure memory usage of a program over time
alramHelps when available memory is below threshold, with optional task killer

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted