{"id":6924,"date":"2018-09-25T18:14:34","date_gmt":"2018-09-25T15:14:34","guid":{"rendered":"https:\/\/www.howtoforge.com\/linux-pmap-command\/"},"modified":"2018-09-25T18:14:34","modified_gmt":"2018-09-25T15:14:34","slug":"linux-pmap-command-tutorial-for-beginners-5-examples","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/linux-pmap-command-tutorial-for-beginners-5-examples\/","title":{"rendered":"Linux pmap Command Tutorial for Beginners (5 Examples)"},"content":{"rendered":"<p>Linux command line offers a lot of\u00a0<a href=\"https:\/\/www.howtoforge.com\/linux-pstree-command\/\" target=\"_blank\" rel=\"noopener noreferrer\">tools<\/a> 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.<\/p>\n<p>But before we do that, it&#8217;s worth mentioning all examples here have been tested on an Ubuntu 18.04 LTS machine.<\/p>\n<h2 id=\"linux-pmap-command\">Linux pmap command<\/h2>\n<p>The pmap command in Linux lets you see the memory map of one or more than one processes. Following is its syntax:<\/p>\n<p class=\"command\">pmap [options] pid [&#8230;]<\/p>\n<p>And here&#8217;s how the tool&#8217;s man page explains it:<\/p>\n<pre>The pmap command reports the memory map of a process or processes.<\/pre>\n<p>Following are some Q&amp;A-styled examples that should give you an even better idea on how the pmap command works.<\/p>\n<h2 id=\"q-how-to-use-pmap\">Q1. How to use pmap?<\/h2>\n<p>Basic usage is simple. Just execute the &#8216;pmap&#8217; command without any option. Of course, you need to pass a process PID as input.<\/p>\n<p>For example, I used pmap in the following way:<\/p>\n<p class=\"command\">pmap 5146<\/p>\n<p>And here&#8217;s a part of output that was produced:<\/p>\n<pre>5146:\u00a0\u00a0 gedit<br\/>000055bde4835000\u00a0\u00a0\u00a0\u00a0\u00a0 8K r-x-- gedit<br\/>000055bde4a36000\u00a0\u00a0\u00a0\u00a0\u00a0 4K r---- gedit<br\/>000055bde4a37000\u00a0\u00a0\u00a0\u00a0\u00a0 4K rw--- gedit<br\/>000055bde5d32000\u00a0 13944K rw---\u00a0\u00a0 [ anon ]<br\/>00007fc910000000\u00a0\u00a0\u00a0 132K rw---\u00a0\u00a0 [ anon ]<br\/>00007fc910021000\u00a0 65404K -----\u00a0\u00a0 [ anon ]<br\/>00007fc918000000\u00a0\u00a0\u00a0 896K rw---\u00a0\u00a0 [ anon ]<br\/>00007fc9180e0000\u00a0 64640K -----\u00a0\u00a0 [ anon ]<br\/>00007fc91c750000\u00a0\u00a0\u00a0 204K r---- UbuntuMono-R.ttf<br\/>00007fc91c783000\u00a0\u00a0\u00a0 644K r-x-- libaspell.so.15.2.0<br\/>00007fc91c824000\u00a0\u00a0 2048K ----- libaspell.so.15.2.0<br\/>00007fc91ca24000\u00a0\u00a0\u00a0\u00a0 20K r---- libaspell.so.15.2.0<br\/>00007fc91ca29000\u00a0\u00a0\u00a0\u00a0\u00a0 4K rw--- libaspell.so.15.2.0<br\/>00007fc91ca2a000\u00a0\u00a0\u00a0\u00a0\u00a0 8K r-x-- libenchant_aspell.so<br\/>00007fc91ca2c000\u00a0\u00a0 2044K ----- libenchant_aspell.so<br\/>00007fc91cc2b000\u00a0\u00a0\u00a0\u00a0\u00a0 4K r---- libenchant_aspell.so<br\/>00007fc91cc2c000\u00a0\u00a0\u00a0\u00a0\u00a0 4K rw--- libenchant_aspell.so<br\/>00007fc91cc2d000\u00a0\u00a0\u00a0\u00a0 44K r-x-- libenchant_hspell.so<br\/>00007fc91cc38000\u00a0\u00a0 2044K ----- libenchant_hspell.so<br\/>00007fc91ce37000\u00a0\u00a0\u00a0\u00a0\u00a0 4K r---- libenchant_hspell.so<br\/>00007fc91ce38000\u00a0\u00a0\u00a0\u00a0 12K rw--- libenchant_hspell.so<br\/>00007fc91ce3b000\u00a0\u00a0\u00a0 428K r-x-- libhunspell-1.6.so.0.0.1<br\/>00007fc91cea6000\u00a0\u00a0 2044K ----- libhunspell-1.6.so.0.0.1<br\/>00007fc91d0a5000\u00a0\u00a0\u00a0\u00a0\u00a0 4K r---- libhunspell-1.6.so.0.0.1<br\/>00007fc91d0a6000\u00a0\u00a0\u00a0\u00a0 16K rw--- libhunspell-1.6.so.0.0.1<br\/>00007fc91d0aa000\u00a0\u00a0\u00a0\u00a0 16K r-x-- libenchant_myspell.so<br\/>00007fc91d0ae000\u00a0\u00a0 2048K ----- libenchant_myspell.so<br\/>00007fc91d2ae000\u00a0\u00a0\u00a0\u00a0\u00a0 4K r---- libenchant_myspell.so<br\/>...<br\/>...<br\/>...<\/pre>\n<p>So there you go, the output first shows you the name of the process and then follows it up with the memory map.<\/p>\n<h2 id=\"q-how-make-pmap-show-extended-output\">Q2. How make pmap show extended output?<\/h2>\n<p>To make pmap show output in extended format, use the -x command line option. For example:<\/p>\n<p class=\"command\">pmap -x 5146<\/p>\n<p>Following is a part of the output produced:<\/p>\n<pre>5146:\u00a0\u00a0 gedit<br\/>Address\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Kbytes\u00a0\u00a0\u00a0\u00a0 RSS\u00a0\u00a0 Dirty Mode\u00a0 Mapping<br\/>000055bde4835000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 r-x-- gedit<br\/>000055bde4835000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 r-x-- gedit<br\/>000055bde4a36000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 r---- gedit<br\/>000055bde4a36000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 r---- gedit<br\/>000055bde4a37000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 rw--- gedit<br\/>000055bde4a37000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 rw--- gedit<br\/>000055bde5d32000\u00a0\u00a0 13944\u00a0\u00a0 13692\u00a0\u00a0 13692 rw---\u00a0\u00a0 [ anon ]<br\/>000055bde5d32000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 rw---\u00a0\u00a0 [ anon ]<br\/>00007fc910000000\u00a0\u00a0\u00a0\u00a0 132\u00a0\u00a0\u00a0\u00a0\u00a0 44\u00a0\u00a0\u00a0\u00a0\u00a0 44 rw---\u00a0\u00a0 [ anon ]<br\/>00007fc910000000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 rw---\u00a0\u00a0 [ anon ]<br\/>00007fc910021000\u00a0\u00a0 65404\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 -----\u00a0\u00a0 [ anon ]<br\/>00007fc910021000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 -----\u00a0\u00a0 [ anon ]<br\/>00007fc918000000\u00a0\u00a0\u00a0\u00a0 896\u00a0\u00a0\u00a0\u00a0 896\u00a0\u00a0\u00a0\u00a0 896 rw---\u00a0\u00a0 [ anon ]<br\/>00007fc918000000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 rw---\u00a0\u00a0 [ anon ]<br\/>00007fc9180e0000\u00a0\u00a0 64640\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 -----\u00a0\u00a0 [ anon ]<br\/>00007fc9180e0000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 -----\u00a0\u00a0 [ anon ]<br\/>00007fc91c750000\u00a0\u00a0\u00a0\u00a0 204\u00a0\u00a0\u00a0\u00a0 136\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 r---- UbuntuMono-R.ttf<br\/>00007fc91c750000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 r---- UbuntuMono-R.ttf<br\/>00007fc91c783000\u00a0\u00a0\u00a0\u00a0 644\u00a0\u00a0\u00a0\u00a0 472\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 r-x-- libaspell.so.15.2.0<br\/>00007fc91c783000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 r-x-- libaspell.so.15.2.0<br\/>00007fc91c824000\u00a0\u00a0\u00a0 2048\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 ----- libaspell.so.15.2.0<br\/>00007fc91c824000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 ----- libaspell.so.15.2.0<br\/>00007fc91ca24000\u00a0\u00a0\u00a0\u00a0\u00a0 20\u00a0\u00a0\u00a0\u00a0\u00a0 20\u00a0\u00a0\u00a0\u00a0\u00a0 20 r---- libaspell.so.15.2.0<br\/>00007fc91ca24000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 r---- libaspell.so.15.2.0<br\/>00007fc91ca29000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 rw--- libaspell.so.15.2.0<br\/>00007fc91ca29000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 rw--- libaspell.so.15.2.0<br\/>00007fc91ca2a000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 8\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 r-x-- libenchant_aspell.so<br\/>00007fc91ca2a000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 r-x-- libenchant_aspell.so<br\/>00007fc91ca2c000\u00a0\u00a0\u00a0 2044\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 ----- libenchant_aspell.so<br\/>00007fc91ca2c000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 ----- libenchant_aspell.so<br\/>00007fc91cc2b000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 r---- libenchant_aspell.so<br\/>00007fc91cc2b000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0 r---- libenchant_aspell.so<br\/>...<br\/>...<br\/>...<\/pre>\n<p>Note that if you need even more details, you can use the -X command line option.<\/p>\n<h2 id=\"q-how-to-make-pmap-show-device-format-in-output\">Q3. How to make pmap show device format in output?<\/h2>\n<p>This can be done using the -d command line option. For example:<\/p>\n<p class=\"command\">pmap -d 5146<\/p>\n<p>And here&#8217;s a part of the output produced:<\/p>\n<pre>5146:\u00a0\u00a0 gedit<br\/>Address\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Kbytes Mode\u00a0 Offset\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Device\u00a0\u00a0\u00a0 Mapping<br\/>000055bde4835000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 8 r-x-- 0000000000000000 008:00008 gedit<br\/>000055bde4a36000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 r---- 0000000000001000 008:00008 gedit<br\/>000055bde4a37000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 rw--- 0000000000002000 008:00008 gedit<br\/>000055bde5d32000\u00a0\u00a0 13944 rw--- 0000000000000000 000:00000\u00a0\u00a0 [ anon ]<br\/>00007fc910000000\u00a0\u00a0\u00a0\u00a0 132 rw--- 0000000000000000 000:00000\u00a0\u00a0 [ anon ]<br\/>00007fc910021000\u00a0\u00a0 65404 ----- 0000000000000000 000:00000\u00a0\u00a0 [ anon ]<br\/>00007fc918000000\u00a0\u00a0\u00a0\u00a0 896 rw--- 0000000000000000 000:00000\u00a0\u00a0 [ anon ]<br\/>00007fc9180e0000\u00a0\u00a0 64640 ----- 0000000000000000 000:00000\u00a0\u00a0 [ anon ]<br\/>00007fc91c750000\u00a0\u00a0\u00a0\u00a0 204 r---- 0000000000000000 008:00008 UbuntuMono-R.ttf<br\/>00007fc91c783000\u00a0\u00a0\u00a0\u00a0 644 r-x-- 0000000000000000 008:00008 libaspell.so.15.2.0<br\/>00007fc91c824000\u00a0\u00a0\u00a0 2048 ----- 00000000000a1000 008:00008 libaspell.so.15.2.0<br\/>00007fc91ca24000\u00a0\u00a0\u00a0\u00a0\u00a0 20 r---- 00000000000a1000 008:00008 libaspell.so.15.2.0<br\/>00007fc91ca29000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 rw--- 00000000000a6000 008:00008 libaspell.so.15.2.0<br\/>00007fc91ca2a000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 8 r-x-- 0000000000000000 008:00008 libenchant_aspell.so<br\/>00007fc91ca2c000\u00a0\u00a0\u00a0 2044 ----- 0000000000002000 008:00008 libenchant_aspell.so<br\/>00007fc91cc2b000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 r---- 0000000000001000 008:00008 libenchant_aspell.so<br\/>00007fc91cc2c000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 rw--- 0000000000002000 008:00008 libenchant_aspell.so<br\/>00007fc91cc2d000\u00a0\u00a0\u00a0\u00a0\u00a0 44 r-x-- 0000000000000000 008:00008 libenchant_hspell.so<br\/>00007fc91cc38000\u00a0\u00a0\u00a0 2044 ----- 000000000000b000 008:00008 libenchant_hspell.so<br\/>00007fc91ce37000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 r---- 000000000000a000 008:00008 libenchant_hspell.so<br\/>00007fc91ce38000\u00a0\u00a0\u00a0\u00a0\u00a0 12 rw--- 000000000000b000 008:00008 libenchant_hspell.so<br\/>...<br\/>...<br\/>...<\/pre>\n<p>So you can see a new column &#8216;device&#8217; was added in the output.<\/p>\n<p>If you don&#8217;t want to see stuff like column names in the pmap output, you can use the -q command line option.<\/p>\n<p>For example:<\/p>\n<p class=\"command\">pmap -q -d 5146<\/p>\n<p>Following was the output:<\/p>\n<pre>5146:\u00a0\u00a0 gedit<br\/>000055bde4835000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 8 r-x-- 0000000000000000 008:00008 gedit<br\/>000055bde4a36000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 r---- 0000000000001000 008:00008 gedit<br\/>000055bde4a37000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 rw--- 0000000000002000 008:00008 gedit<br\/>000055bde5d32000\u00a0\u00a0 13944 rw--- 0000000000000000 000:00000\u00a0\u00a0 [ anon ]<br\/>00007fc910000000\u00a0\u00a0\u00a0\u00a0 132 rw--- 0000000000000000 000:00000\u00a0\u00a0 [ anon ]<br\/>00007fc910021000\u00a0\u00a0 65404 ----- 0000000000000000 000:00000\u00a0\u00a0 [ anon ]<br\/>00007fc918000000\u00a0\u00a0\u00a0\u00a0 896 rw--- 0000000000000000 000:00000\u00a0\u00a0 [ anon ]<br\/>00007fc9180e0000\u00a0\u00a0 64640 ----- 0000000000000000 000:00000\u00a0\u00a0 [ anon ]<br\/>00007fc91c750000\u00a0\u00a0\u00a0\u00a0 204 r---- 0000000000000000 008:00008 UbuntuMono-R.ttf<br\/>00007fc91c783000\u00a0\u00a0\u00a0\u00a0 644 r-x-- 0000000000000000 008:00008 libaspell.so.15.2.0<br\/>00007fc91c824000\u00a0\u00a0\u00a0 2048 ----- 00000000000a1000 008:00008 libaspell.so.15.2.0<br\/>00007fc91ca24000\u00a0\u00a0\u00a0\u00a0\u00a0 20 r---- 00000000000a1000 008:00008 libaspell.so.15.2.0<br\/>00007fc91ca29000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 rw--- 00000000000a6000 008:00008 libaspell.so.15.2.0<br\/>00007fc91ca2a000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 8 r-x-- 0000000000000000 008:00008 libenchant_aspell.so<br\/>00007fc91ca2c000\u00a0\u00a0\u00a0 2044 ----- 0000000000002000 008:00008 libenchant_aspell.so<br\/>00007fc91cc2b000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 r---- 0000000000001000 008:00008 libenchant_aspell.so<br\/>00007fc91cc2c000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 rw--- 0000000000002000 008:00008 libenchant_aspell.so<br\/>00007fc91cc2d000\u00a0\u00a0\u00a0\u00a0\u00a0 44 r-x-- 0000000000000000 008:00008 libenchant_hspell.so<br\/>00007fc91cc38000\u00a0\u00a0\u00a0 2044 ----- 000000000000b000 008:00008 libenchant_hspell.so<br\/>00007fc91ce37000\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 4 r---- 000000000000a000 008:00008 libenchant_hspell.so<br\/>00007fc91ce38000\u00a0\u00a0\u00a0\u00a0\u00a0 12 rw--- 000000000000b000 008:00008 libenchant_hspell.so<\/pre>\n<p>So you can see the header was removed from the output.<\/p>\n<h2 id=\"q-how-to-make-pmap-show-full-paths-in-output\">Q5. How to make pmap show full paths in output?<\/h2>\n<p>In case you want pmap to show full path to files in the mapping column, you can use the -p command line option.<\/p>\n<p>For example:<\/p>\n<p class=\"command\">pmap -p 5146<\/p>\n<p>And here&#8217;s the output produced by this command:<\/p>\n<pre>5146:\u00a0\u00a0 gedit<br\/>000055bde4835000\u00a0\u00a0\u00a0\u00a0\u00a0 8K r-x-- \/usr\/bin\/gedit<br\/>000055bde4a36000\u00a0\u00a0\u00a0\u00a0\u00a0 4K r---- \/usr\/bin\/gedit<br\/>000055bde4a37000\u00a0\u00a0\u00a0\u00a0\u00a0 4K rw--- \/usr\/bin\/gedit<br\/>000055bde5d32000\u00a0 13944K rw---\u00a0\u00a0 [ anon ]<br\/>00007fc910000000\u00a0\u00a0\u00a0 132K rw---\u00a0\u00a0 [ anon ]<br\/>00007fc910021000\u00a0 65404K -----\u00a0\u00a0 [ anon ]<br\/>00007fc918000000\u00a0\u00a0\u00a0 896K rw---\u00a0\u00a0 [ anon ]<br\/>00007fc9180e0000\u00a0 64640K -----\u00a0\u00a0 [ anon ]<br\/>00007fc91c750000\u00a0\u00a0\u00a0 204K r---- \/usr\/share\/fonts\/truetype\/ubuntu\/UbuntuMono-R.ttf<br\/>00007fc91c783000\u00a0\u00a0\u00a0 644K r-x-- \/usr\/lib\/x86_64-linux-gnu\/libaspell.so.15.2.0<br\/>00007fc91c824000\u00a0\u00a0 2048K ----- \/usr\/lib\/x86_64-linux-gnu\/libaspell.so.15.2.0<br\/>00007fc91ca24000\u00a0\u00a0\u00a0\u00a0 20K r---- \/usr\/lib\/x86_64-linux-gnu\/libaspell.so.15.2.0<br\/>00007fc91ca29000\u00a0\u00a0\u00a0\u00a0\u00a0 4K rw--- \/usr\/lib\/x86_64-linux-gnu\/libaspell.so.15.2.0<br\/>00007fc91ca2a000\u00a0\u00a0\u00a0\u00a0\u00a0 8K r-x-- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_aspell.so<br\/>00007fc91ca2c000\u00a0\u00a0 2044K ----- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_aspell.so<br\/>00007fc91cc2b000\u00a0\u00a0\u00a0\u00a0\u00a0 4K r---- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_aspell.so<br\/>00007fc91cc2c000\u00a0\u00a0\u00a0\u00a0\u00a0 4K rw--- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_aspell.so<br\/>00007fc91cc2d000\u00a0\u00a0\u00a0\u00a0 44K r-x-- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_hspell.so<br\/>00007fc91cc38000\u00a0\u00a0 2044K ----- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_hspell.so<br\/>00007fc91ce37000\u00a0\u00a0\u00a0\u00a0\u00a0 4K r---- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_hspell.so<br\/>00007fc91ce38000\u00a0\u00a0\u00a0\u00a0 12K rw--- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_hspell.so<br\/>00007fc91ce3b000\u00a0\u00a0\u00a0 428K r-x-- \/usr\/lib\/x86_64-linux-gnu\/libhunspell-1.6.so.0.0.1<br\/>00007fc91cea6000\u00a0\u00a0 2044K ----- \/usr\/lib\/x86_64-linux-gnu\/libhunspell-1.6.so.0.0.1<br\/>00007fc91d0a5000\u00a0\u00a0\u00a0\u00a0\u00a0 4K r---- \/usr\/lib\/x86_64-linux-gnu\/libhunspell-1.6.so.0.0.1<br\/>00007fc91d0a6000\u00a0\u00a0\u00a0\u00a0 16K rw--- \/usr\/lib\/x86_64-linux-gnu\/libhunspell-1.6.so.0.0.1<br\/>00007fc91d0aa000\u00a0\u00a0\u00a0\u00a0 16K r-x-- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_myspell.so<br\/>00007fc91d0ae000\u00a0\u00a0 2048K ----- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_myspell.so<br\/>00007fc91d2ae000\u00a0\u00a0\u00a0\u00a0\u00a0 4K r---- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_myspell.so<br\/>00007fc91d2af000\u00a0\u00a0\u00a0\u00a0\u00a0 4K rw--- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_myspell.so<br\/>00007fc91d2b0000\u00a0\u00a0\u00a0\u00a0 44K r-x-- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_ispell.so<br\/>00007fc91d2bb000\u00a0\u00a0 2048K ----- \/usr\/lib\/x86_64-linux-gnu\/enchant\/libenchant_ispell.so<\/pre>\n<p>So you can see that file names with complete paths are produced in output.<\/p>\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<p>If your work involves dealing with process memory maps, this tool is for you. In this tutorial, we have described the basic usage of this command. Once you&#8217;re done practicing what all we&#8217;ve discussed here, head to the tool&#8217;s\u00a0<a href=\"https:\/\/linux.die.net\/man\/1\/pmap\" target=\"_blank\" rel=\"noopener noreferrer\">man page<\/a> to learn more about it.<\/p>\n<div class=\"authorbox\" readability=\"15\">\n<img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/linux-pmap-command-tutorial-for-beginners-5-examples.jpg\" alt=\"Himanshu Arora\" title=\"\"> <\/p>\n<p><strong>About Himanshu Arora<\/strong><\/p>\n<p>Himanshu Arora has been working on Linux since 2007. He carries professional experience in system level programming, networking protocols, and command line. In addition to HowtoForge, Himanshu&#8217;s work has also been featured in some of world&#8217;s other leading publications including Computerworld, IBM DeveloperWorks, and Linux Journal.<\/p>\n<\/div>\n<div>\n<p><b>Share this page:<\/b><\/p>\n<p>\n<a href=\"https:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fwww.howtoforge.com%2Flinux-pmap-command%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/linux-pmap-command-tutorial-for-beginners-5-examples.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/intent\/tweet?url=https%3A%2F%2Fwww.howtoforge.com%2Flinux-pmap-command%2F&amp;text=Linux+pmap+Command+Tutorial+for+Beginners+%285+Examples%29&amp;via=howtoforgecom&amp;related=howtoforgecom\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/linux-pmap-command-tutorial-for-beginners-5-examples-1.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/twitter.com\/howtoforgecom\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/linux-pmap-command-tutorial-for-beginners-5-examples-2.png\" height=\"20\" alt=\"\" title=\"\"><\/a><br \/>\n<a href=\"https:\/\/plus.google.com\/share?url=https%3A%2F%2Fwww.howtoforge.com%2Flinux-pmap-command%2F\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"><img decoding=\"async\" src=\"https:\/\/afaghhosting.net\/blog\/wp-content\/uploads\/2018\/09\/linux-pmap-command-tutorial-for-beginners-5-examples-3.png\" height=\"20\" alt=\"\" title=\"\"><\/a>\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Linux command line offers a lot of\u00a0tools 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&#8217;s worth &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-6924","post","type-post","status-publish","format-standard","hentry","category-36"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/6924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=6924"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/6924\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=6924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=6924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=6924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}