Linux pmap Command Tutorial for Beginners (5 Examples)

3379

Linux command line offers a lot of tools that help you know more about processes that are currently active in your system. One such utility is pmap, which reports the process memory map. In this tutorial, we will discuss the basics of pmap using some easy to understand examples.

But before we do that, it’s worth mentioning all examples here have been tested on an Ubuntu 18.04 LTS machine.

Linux pmap command

The pmap command in Linux lets you see the memory map of one or more than one processes. Following is its syntax:

pmap [options] pid […]

And here’s how the tool’s man page explains it:

The pmap command reports the memory map of a process or processes.

Read more at HowToForge