<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Shared and private memory used by process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617336#M235293</link>
    <description>Hi Ninad ,&lt;BR /&gt;&lt;BR /&gt;To check shared memory : # ipcs -p -m &lt;BR /&gt;and for details can be checked with glance.&lt;BR /&gt;&lt;BR /&gt;Also use ps -ef to see the top processes using private memory:&lt;BR /&gt; ps -ael | sort -r -k10 | head -10 &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;</description>
    <pubDate>Thu, 01 Sep 2005 23:22:11 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2005-09-01T23:22:11Z</dc:date>
    <item>
      <title>Shared and private memory used by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617332#M235289</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How can I determine the private and shared memory used by a process ? I have seen some metrics like PROC_MEM_RES but it must be showing provate+shared memory.Can anyone guide me on this?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;nad</description>
      <pubDate>Thu, 01 Sep 2005 16:27:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617332#M235289</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2005-09-01T16:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Shared and private memory used by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617333#M235290</link>
      <description>Glance/gpm has a good gui that lets you drill into a process and see a lot of interesting data.&lt;BR /&gt;&lt;BR /&gt;Its a pay for add in but probably worth it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 01 Sep 2005 16:35:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617333#M235290</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-09-01T16:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Shared and private memory used by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617334#M235291</link>
      <description>I do not think it would not be possible to differntiate between private and shared.&lt;BR /&gt;&lt;BR /&gt;There are two utilities that come to my mind.&lt;BR /&gt;&lt;BR /&gt;shminfo tool. Get it from floowing link&lt;BR /&gt;&lt;A href="ftp://ftp.itrc.hp.com/" target="_blank"&gt;ftp://ftp.itrc.hp.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;use of ipcs command.&lt;BR /&gt;&lt;BR /&gt;man ipcs for details.&lt;BR /&gt;ipcs -moba</description>
      <pubDate>Thu, 01 Sep 2005 16:44:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617334#M235291</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-09-01T16:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Shared and private memory used by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617335#M235292</link>
      <description>Private memory of a process will have stack and data objects.&lt;BR /&gt;Shared memory of a process will have shared text , shared memory and shared library objects.&lt;BR /&gt;&lt;BR /&gt;Glance gives good picture of a whole process structure. You can check the private memory of a process using PROC_MEM_PRIVATE_RES metric. It shows the valuse in KB and you have to enable "Process Memory Region" option in the Glance GUI. For process shared memory , check PROC_MEM_SHARED_RES metric , value in KB.&lt;BR /&gt;&lt;BR /&gt;In Text based Glance, you can see this information for a process noting its PID&lt;BR /&gt;s (Select key ) -&amp;gt; PID -&amp;gt; M &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Sep 2005 19:31:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617335#M235292</guid>
      <dc:creator>Sameer_Nirmal</dc:creator>
      <dc:date>2005-09-01T19:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Shared and private memory used by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617336#M235293</link>
      <description>Hi Ninad ,&lt;BR /&gt;&lt;BR /&gt;To check shared memory : # ipcs -p -m &lt;BR /&gt;and for details can be checked with glance.&lt;BR /&gt;&lt;BR /&gt;Also use ps -ef to see the top processes using private memory:&lt;BR /&gt; ps -ael | sort -r -k10 | head -10 &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Sep 2005 23:22:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617336#M235293</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-09-01T23:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Shared and private memory used by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617337#M235294</link>
      <description>Thanks all for your inputs.&lt;BR /&gt;I already have glance. I tried using the metrics PROC_MEM_PRIVATE_RES &amp;amp; PROC_MEM_SHARED_RES but it shows me "na" in both the fields. What could be the problem ? &lt;BR /&gt;I have B3701AA  C.03.71.00 HP GlancePlus/UX Pak for s800 11.0 on my HP-UX 11.00 box.&lt;BR /&gt;Have you seen values for the above PROC params on your machines ?&lt;BR /&gt;Also I am aware you can see shared mem segments using ipcs but what I want is for each process what is the private and shared resident memory.&lt;BR /&gt;&lt;BR /&gt;Sameer,&lt;BR /&gt;Great to hear from u. Pls mail me at ninaddate@indiatimes.com&lt;BR /&gt;&lt;BR /&gt;Regs,&lt;BR /&gt;Ninad</description>
      <pubDate>Fri, 02 Sep 2005 09:16:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617337#M235294</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2005-09-02T09:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Shared and private memory used by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617338#M235295</link>
      <description>Ninad,&lt;BR /&gt;&lt;BR /&gt;You should able to see values for both. I am using Glance 2.40 on HP-UX 11.0 and 2.61 on HP-UX 11.11 . I could see these values .&lt;BR /&gt;&lt;BR /&gt;I guess you might have looked at it once only. sometimes these values couldn't be obtained by Glance , hence it will show "na" in those field. Whenever it can, you should see the values.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Sep 2005 11:11:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617338#M235295</guid>
      <dc:creator>Sameer_Nirmal</dc:creator>
      <dc:date>2005-09-07T11:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Shared and private memory used by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617339#M235296</link>
      <description>Ninad,&lt;BR /&gt;&lt;BR /&gt;Follow RAC's suggestion and download the shminfo tool from &lt;A href="ftp://ftp.itrc.hp.com/" target="_blank"&gt;ftp://ftp.itrc.hp.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'ave used it in the past and still do from time to time and its invaluable in showing the system shared memory map and for correlating those regions to the various processes on the system.&lt;BR /&gt;&lt;BR /&gt;Another tool would be ipcs though various options and switches to the shminfo tool will let you duplicate its output.&lt;BR /&gt;&lt;BR /&gt;cheers!</description>
      <pubDate>Wed, 07 Sep 2005 11:30:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617339#M235296</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2005-09-07T11:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Shared and private memory used by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617340#M235297</link>
      <description>Shared memory is almost impossible to assign to a specific program. ipcs can show you the creator's PID and the PID of the last program to access a shared memory segment. But there are no rules that prevent the creator from leaving the segment and terminating, thus an orphaned segment is just left in RAM.&lt;BR /&gt; &lt;BR /&gt;Get a copy of shminfo from:&lt;BR /&gt;ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/shminfo/&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 07 Sep 2005 12:41:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shared-and-private-memory-used-by-process/m-p/3617340#M235297</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-09-07T12:41:05Z</dc:date>
    </item>
  </channel>
</rss>

