Linux Pmap

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)


The command pmap reports memory map of one process or multiple processes. It displays information about memory usage and address space of a process. To check pmap of a process we need PID of the process.


pmap PID 


pmap 2390

Linux pmap1

Look at the above snapshot, it shows memory map of PID 2390.

Memory map of multiple processes

Memory map of multiple processes can also be seen with the same command.


pmap PID1 PID2 PID3 . . .


pmap 1682 2390

Linux pmap2

Look at the above snapshot, we have used PID 1682 and 2390. First information about PID 1682 is displayed then information about PID 2390 is displayed.


Option Function
-x Show extended format
-d Show device format
-q Do not display header/footer line
-v Version display