<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux pmap Command Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/linux-pmap-command/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/linux-pmap-command/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:49:47 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>20 pmap Commands Examples in Linux / UNIX &#124; pmap Commands Tutorial</title>
		<link>https://www.scmgalaxy.com/tutorials/20-pmap-commands-examples-in-linux-unix/</link>
					<comments>https://www.scmgalaxy.com/tutorials/20-pmap-commands-examples-in-linux-unix/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 12 Dec 2015 12:04:03 +0000</pubDate>
				<category><![CDATA[Unix - Linux]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[Examples]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux pmap Command]]></category>
		<category><![CDATA[pmap]]></category>
		<category><![CDATA[pmap Command]]></category>
		<category><![CDATA[pmap Command Examples]]></category>
		<category><![CDATA[pmap command line]]></category>
		<category><![CDATA[pmap Commands Tutorials]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2015/12/12/20-pmap-commands-examples-in-linux-unix/</guid>

					<description><![CDATA[<p>You can find the memory used by a program (process) by looking into /proc directory or using standard command such [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-pmap-commands-examples-in-linux-unix/">20 pmap Commands Examples in Linux / UNIX | pmap Commands Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-3162 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/pmap-commands-examples-in-l.png" alt="" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/pmap-commands-examples-in-l.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2015/12/pmap-commands-examples-in-l-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>You can find the memory used by a program (process) by looking into /proc directory or using standard command such as ps or top.</p>
</div>
<div>However, you must calculate all memory usage by hand i.e. add Shared Memory + mapped file + total virtual memory size of the process + Resident Set Size + non-swapped physical memory used by process. So how do you find the total memory used by a process or program under Linux? Use a tool called pmap. It reports the memory map of a process or processes.</div>
<div></div>
<div><strong>To display process mappings, type</strong></div>
<div>$ pmap pid</div>
<div>$ pmap 3724</div>
<div></div>
<div><strong>If you want to see the exented format<br />
</strong>The -x option can be used to provide information about the memory allocation and mapping types per mapping. The amount of resident, non-shared anonymous, and locked memory is shown for each mapping:</div>
<div></div>
<div>$ pmap -x 3526</div>
<div></div>
<div><strong>If you want to see the device format</strong></div>
<div>$ pmap -d 3526</div>
<div></div>
<div><strong>If you do not display some header/footer lines.</strong></div>
<div>$ pmap -q 3526</div>
<div></div>
<div></div>
<div><strong>GENERAL OPTIONS</strong></div>
<div>-x extended Show the extended format.</div>
<div>-d device Show the device format.</div>
<div>-q quiet Do not display some header/footer lines.</div>
<div>-V show version Displays version of program.</div>
<div></div>
<div><strong>Reference</strong></div>
<div><a href="http://linux.die.net/man/1/pmap" target="_blank" rel="noopener">http://linux.die.net/man/1/pmap</a></div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/20-pmap-commands-examples-in-linux-unix/">20 pmap Commands Examples in Linux / UNIX | pmap Commands Tutorial</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/20-pmap-commands-examples-in-linux-unix/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
