<?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: HOWTO: Determine memory usage by process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968410#M784487</link>
    <description>Hi Mark:&lt;BR /&gt;&lt;BR /&gt;I'd use 'glance' or this to sort the processes' memory use in descending amounts:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -e -o vsz -o pid -o args |sort -k1nr|more&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Mon, 20 Mar 2006 13:40:25 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2006-03-20T13:40:25Z</dc:date>
    <item>
      <title>HOWTO: Determine memory usage by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968408#M784485</link>
      <description>Our system admin is reporting 100% sustained memory utilzation on the box (hp-ux 11.11b).  I, as the Oracle guy, am getting the finger pointed at since we recently did an upgrade to 9.2.0.6 &amp;amp; added an additional instance.  However, I have SGA_MAX_SIZE defined &amp;amp; have checked PGA usage.  I am only seeing something like 3.5GB being used (out of 8GB physically in the box) by all Oracle instances on this box.  So, I am frustrated in that I believe that something other than the Oracle instances themselves are consuming the remaining memory.  I realize it could be some other Oracle component: listener, private memory, agent, etc.  So, my question is: Is there a tool that can analyze &amp;amp; report memory usage by process?  With this, we can move from finger pointing to focusing on what needs to be fixed.&lt;BR /&gt;&lt;BR /&gt;Thanks for any input on this.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Mon, 20 Mar 2006 13:32:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968408#M784485</guid>
      <dc:creator>Mark Frederickson</dc:creator>
      <dc:date>2006-03-20T13:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: HOWTO: Determine memory usage by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968409#M784486</link>
      <description>Shalom Mark,&lt;BR /&gt;&lt;BR /&gt;set UNIX95=1&lt;BR /&gt;&lt;BR /&gt;You can do it with the ps command.&lt;BR /&gt;&lt;BR /&gt;For more precision and easier reports, consider glance.&lt;BR /&gt;&lt;BR /&gt;lsof may help you identify the process.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 20 Mar 2006 13:38:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968409#M784486</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-03-20T13:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: HOWTO: Determine memory usage by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968410#M784487</link>
      <description>Hi Mark:&lt;BR /&gt;&lt;BR /&gt;I'd use 'glance' or this to sort the processes' memory use in descending amounts:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -e -o vsz -o pid -o args |sort -k1nr|more&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 20 Mar 2006 13:40:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968410#M784487</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-03-20T13:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: HOWTO: Determine memory usage by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968411#M784488</link>
      <description>If you have an HP support contract they may be able to assist by providing kmeminfo to you.  It's generally only used against crash dumps, but can be run against a live system without any harm (i.e. it's a read only program).&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Mar 2006 13:40:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968411#M784488</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2006-03-20T13:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: HOWTO: Determine memory usage by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968412#M784489</link>
      <description>UNIX95= ps -e -o comm,vsz&lt;BR /&gt;&lt;BR /&gt;The rub is that it's very difficult to add up memory usage because shared library code, multiple instances of the same program, shared memory, and memory-mapped files might be counted multiple times.&lt;BR /&gt;&lt;BR /&gt;For example, each instance of the vi editor gets a private data and stack segment but share a common text segment and shared library code. In that sense, the memory usage appears to be greater than it actually is.  &lt;BR /&gt;&lt;BR /&gt;The most meaningful metric to use is vmstat. If the pageout rate (po) is greater than 10 or so for more than a few tens of seconds then you are swapping. The performance impact of swapping is so great that reducing the size of the buffer cache or SGA is much better than allowing the box to swap. The additional disk fetches resulting from smaller caches is trivial (by a factor of ~100) when compared to that of swapping.</description>
      <pubDate>Mon, 20 Mar 2006 13:42:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968412#M784489</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-03-20T13:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: HOWTO: Determine memory usage by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968413#M784490</link>
      <description>Jim,&lt;BR /&gt;&lt;BR /&gt;I ran your suggested command &amp;amp; found it to be quite informative, enough to conclude that a large number of user connections, generated from the application, to one of the Oracle instances is responsible for the excessive memory consumption.  Finger pointing has concluded &amp;amp; we are now focused on solving the problem.  &lt;BR /&gt;&lt;BR /&gt;I appreciate your timely reply &amp;amp; feedback from others.&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Mar 2006 14:36:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968413#M784490</guid>
      <dc:creator>Mark Frederickson</dc:creator>
      <dc:date>2006-03-20T14:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: HOWTO: Determine memory usage by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968414#M784491</link>
      <description>See Jim's reply!</description>
      <pubDate>Mon, 20 Mar 2006 14:38:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/howto-determine-memory-usage-by-process/m-p/4968414#M784491</guid>
      <dc:creator>Mark Frederickson</dc:creator>
      <dc:date>2006-03-20T14:38:01Z</dc:date>
    </item>
  </channel>
</rss>

