<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: Linux find the memory used by a program / process using pmap command</title> <atom:link href="http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: tessa rodriguez</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-175929</link> <dc:creator>tessa rodriguez</dc:creator> <pubDate>Wed, 23 Nov 2011 08:55:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-175929</guid> <description>let me know how to down load any app i wont to own acer500</description> <content:encoded><![CDATA[<p>let me know how to down load any app i wont to own acer500</p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-173813</link> <dc:creator>Anonymous</dc:creator> <pubDate>Fri, 09 Sep 2011 15:30:28 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-173813</guid> <description>Suse Enterprise Linux 10SP1 also lacks the -x option.</description> <content:encoded><![CDATA[<p>Suse Enterprise Linux 10SP1 also lacks the -x option.</p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-156405</link> <dc:creator>Anonymous</dc:creator> <pubDate>Tue, 08 Jun 2010 12:56:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-156405</guid> <description>Can it be possible like shhoting the cpu usage to around 600%, the one we see while giving top command?</description> <content:encoded><![CDATA[<p>Can it be possible like shhoting the cpu usage to around 600%, the one we see while giving top command?</p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-156190</link> <dc:creator>Anonymous</dc:creator> <pubDate>Tue, 25 May 2010 07:58:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-156190</guid> <description>This prints process memory usage:
ps -p  -o size=</description> <content:encoded><![CDATA[<p>This prints process memory usage:<br
/> ps -p  -o size=</p> ]]></content:encoded> </item> <item><title>By: Heapsize - Linux / UNIX Forum</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-153126</link> <dc:creator>Heapsize - Linux / UNIX Forum</dc:creator> <pubDate>Tue, 26 Jan 2010 06:47:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-153126</guid> <description>[...] Linux find the memory used by a program / process using pmap command     __________________ Rocky Jr. You may have my body &amp; soul, but you will never touch my pride!   If you have knowledge, let others light their candles at it.   Certified to work on HP-UX / Sun Solaris / RedHat [...]</description> <content:encoded><![CDATA[<p>[...] Linux find the memory used by a program / process using pmap command     __________________ Rocky Jr. You may have my body &amp; soul, but you will never touch my pride!   If you have knowledge, let others light their candles at it.   Certified to work on HP-UX / Sun Solaris / RedHat [...]</p> ]]></content:encoded> </item> <item><title>By: kiran</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-149050</link> <dc:creator>kiran</dc:creator> <pubDate>Sun, 21 Jun 2009 06:56:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-149050</guid> <description>I think u must check on the netstat command also</description> <content:encoded><![CDATA[<p>I think u must check on the netstat command also</p> ]]></content:encoded> </item> <item><title>By: Raghunatha Reddy</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-147621</link> <dc:creator>Raghunatha Reddy</dc:creator> <pubDate>Wed, 11 Mar 2009 05:04:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-147621</guid> <description>i am using redhat linux 5.2 with UniVerse database. from last 20 day my server physical memory and CPU  usage is 99% and 100% . i tried lot to resolve this problem . but i am not able to fix this problem. can any body help me. i am sending the out put of free -m and ipcs out put . server running in Runlevel 5
total       used       free     shared    buffers     cached
Mem:          7741       7691         50          0        120       7244
-/+ buffers/cache:        326       7415
Swap:         1983          0       1983
#ipcs
------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status
0xaceca200 32768      root      666        6852808    9
0x00000000 229377     gdm       600        393216     2          dest
0xaceb000e 64258051   tcsuser   600        10240      1
0xaceb000f 64290822   tcsuser   600        10240      1
0xaceb000c 64323591   tcsuser   600        10240      1
0xaceb0013 64356360   tcsuser   600        10240      1
0xacebdf50 73760777   jyg5506   600        10240      1
0xaceb0010 64389130   tcsuser   600        10240      1
0xaceb0017 64421900   tcsuser   600        10240      1
0xaceb0015 64454669   tcsuser   600        10240      1
------ Semaphore Arrays --------
key        semid      owner      perms      nsems
------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages
0xacea0207 0          root       666        0            0
#vmstat 2 5
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----                                             -
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
1  0    656  50988 123184 7418868    0    0  2584   146    4    9 13  4 80  3                                               0
2  0    656  44864 123152 7415656    0    0   400     6 1056  132 86 14  0  1                                               0
1  0    656  53200 123160 7416428    0    0   406   178 1064  150 87 13  0  1                                               0
1  0    656  47832 123184 7417196    0    0   406    46 1053  134 85 14  0  2  0
1  0    656  47236 123184 7417960    0    0   366    16 1053  128 86 13  0  1  0</description> <content:encoded><![CDATA[<p>i am using redhat linux 5.2 with UniVerse database. from last 20 day my server physical memory and CPU  usage is 99% and 100% . i tried lot to resolve this problem . but i am not able to fix this problem. can any body help me. i am sending the out put of free -m and ipcs out put . server running in Runlevel 5<br
/> total       used       free     shared    buffers     cached<br
/> Mem:          7741       7691         50          0        120       7244<br
/> -/+ buffers/cache:        326       7415<br
/> Swap:         1983          0       1983<br
/> #ipcs<br
/> &#8212;&#8212; Shared Memory Segments &#8212;&#8212;&#8211;<br
/> key        shmid      owner      perms      bytes      nattch     status<br
/> 0xaceca200 32768      root      666        6852808    9<br
/> 0&#215;00000000 229377     gdm       600        393216     2          dest<br
/> 0xaceb000e 64258051   tcsuser   600        10240      1<br
/> 0xaceb000f 64290822   tcsuser   600        10240      1<br
/> 0xaceb000c 64323591   tcsuser   600        10240      1<br
/> 0xaceb0013 64356360   tcsuser   600        10240      1<br
/> 0xacebdf50 73760777   jyg5506   600        10240      1<br
/> 0xaceb0010 64389130   tcsuser   600        10240      1<br
/> 0xaceb0017 64421900   tcsuser   600        10240      1<br
/> 0xaceb0015 64454669   tcsuser   600        10240      1</p><p>&#8212;&#8212; Semaphore Arrays &#8212;&#8212;&#8211;<br
/> key        semid      owner      perms      nsems</p><p>&#8212;&#8212; Message Queues &#8212;&#8212;&#8211;<br
/> key        msqid      owner      perms      used-bytes   messages<br
/> 0xacea0207 0          root       666        0            0</p><p>#vmstat 2 5<br
/> procs &#8212;&#8212;&#8212;&#8211;memory&#8212;&#8212;&#8212;- &#8212;swap&#8211; &#8212;&#8211;io&#8212;- &#8211;system&#8211; &#8212;&#8211;cpu&#8212;&#8211;                                             -<br
/> r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st<br
/> 1  0    656  50988 123184 7418868    0    0  2584   146    4    9 13  4 80  3                                               0<br
/> 2  0    656  44864 123152 7415656    0    0   400     6 1056  132 86 14  0  1                                               0<br
/> 1  0    656  53200 123160 7416428    0    0   406   178 1064  150 87 13  0  1                                               0<br
/> 1  0    656  47832 123184 7417196    0    0   406    46 1053  134 85 14  0  2  0<br
/> 1  0    656  47236 123184 7417960    0    0   366    16 1053  128 86 13  0  1  0</p> ]]></content:encoded> </item> <item><title>By: Adam</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-144260</link> <dc:creator>Adam</dc:creator> <pubDate>Thu, 03 Jul 2008 17:47:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-144260</guid> <description>I am trying to find out why my Apache is using a massive amount of memory for simple usage. Then it starts using swap space even after only few requests. I am going to try to use this command to find out what Apache is using the memory for. I&#039;m not sure if it is a memory leak and this tool might not help me, but I will find out.</description> <content:encoded><![CDATA[<p>I am trying to find out why my Apache is using a massive amount of memory for simple usage. Then it starts using swap space even after only few requests. I am going to try to use this command to find out what Apache is using the memory for. I&#8217;m not sure if it is a memory leak and this tool might not help me, but I will find out.</p> ]]></content:encoded> </item> <item><title>By: siva</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-143346</link> <dc:creator>siva</dc:creator> <pubDate>Tue, 01 Apr 2008 10:23:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-143346</guid> <description>hi!
every thing seems good, but  how to   calculate memory used and how top commnad and free are showing memory used, how they are calculating and showing the information.
thanks and regards
siva</description> <content:encoded><![CDATA[<p>hi!<br
/> every thing seems good, but  how to   calculate memory used and how top commnad and free are showing memory used, how they are calculating and showing the information.<br
/> thanks and regards<br
/> siva</p> ]]></content:encoded> </item> <item><title>By: Helal Uddin</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-143105</link> <dc:creator>Helal Uddin</dc:creator> <pubDate>Mon, 10 Mar 2008 03:52:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-143105</guid> <description>thanks a lot for helping me.</description> <content:encoded><![CDATA[<p>thanks a lot for helping me.</p> ]]></content:encoded> </item> <item><title>By: spice</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-142852</link> <dc:creator>spice</dc:creator> <pubDate>Mon, 11 Feb 2008 20:48:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-142852</guid> <description>&lt;blockquote&gt;I found a command ps -C syslogd -o pid=firefox that can be used to find memory usage of firefox and thought I’d pass it along.&gt;
That command gives the process id of syslogd, not memory usage of anything.</description> <content:encoded><![CDATA[<blockquote><p>I found a command ps -C syslogd -o pid=firefox that can be used to find memory usage of firefox and thought I’d pass it along.&gt;</p><p>That command gives the process id of syslogd, not memory usage of anything.</p></blockquote> ]]></content:encoded> </item> <item><title>By: Nate</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-141995</link> <dc:creator>Nate</dc:creator> <pubDate>Wed, 28 Nov 2007 20:59:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-141995</guid> <description>pmap -x is what I meant.</description> <content:encoded><![CDATA[<p>pmap -x is what I meant.</p> ]]></content:encoded> </item> <item><title>By: Nate</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-141994</link> <dc:creator>Nate</dc:creator> <pubDate>Wed, 28 Nov 2007 20:58:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-141994</guid> <description>Linux version 2.6.9-55.0.9.ELsmp (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)) #1 SMP Tue Sep 25 02:17:24 EDT 2007
Usage: pmap [-x &#124; -d] [-q] pid...
-x  show details
-d  show offset and device number
-q  quiet; less header/footer info
-V  show the version number
pmap -v exists in RHEL4</description> <content:encoded><![CDATA[<p>Linux version 2.6.9-55.0.9.ELsmp (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)) #1 SMP Tue Sep 25 02:17:24 EDT 2007</p><p>Usage: pmap [-x | -d] [-q] pid&#8230;<br
/> -x  show details<br
/> -d  show offset and device number<br
/> -q  quiet; less header/footer info<br
/> -V  show the version number</p><p>pmap -v exists in RHEL4</p> ]]></content:encoded> </item> <item><title>By: BT</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-141947</link> <dc:creator>BT</dc:creator> <pubDate>Sun, 25 Nov 2007 06:02:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-141947</guid> <description>You must be root to use that command.
It works on ubuntu if you sudo pmap -x pid.</description> <content:encoded><![CDATA[<p>You must be root to use that command.<br
/> It works on ubuntu if you sudo pmap -x pid.</p> ]]></content:encoded> </item> <item><title>By: jj</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-141946</link> <dc:creator>jj</dc:creator> <pubDate>Sat, 24 Nov 2007 17:57:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-141946</guid> <description>I believe what you are saying is you need to first establish the PID and then use pmap. I found a command  ps -C syslogd -o pid=firefox that can be used to find memory usage of firefox and thought I&#039;d pass it along.
P.S. the pmap -x perameter works in Ubuntu</description> <content:encoded><![CDATA[<p>I believe what you are saying is you need to first establish the PID and then use pmap. I found a command  ps -C syslogd -o pid=firefox that can be used to find memory usage of firefox and thought I&#8217;d pass it along.</p><p>P.S. the pmap -x perameter works in Ubuntu</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-141918</link> <dc:creator>vivek</dc:creator> <pubDate>Wed, 21 Nov 2007 05:51:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-141918</guid> <description>Manoj,
You must be using older version update procps package.</description> <content:encoded><![CDATA[<p>Manoj,</p><p>You must be using older version update procps package.</p> ]]></content:encoded> </item> <item><title>By: Manoj</title><link>http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-141913</link> <dc:creator>Manoj</dc:creator> <pubDate>Wed, 21 Nov 2007 03:25:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.html#comment-141913</guid> <description>-x option not found in redhat</description> <content:encoded><![CDATA[<p>-x option not found in redhat</p> ]]></content:encoded> </item> </channel> </rss>
