<?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: listing top memory using processes in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822582#M86876</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;To list processes in decending order of virtual memory size, do:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -e -o "user,vsz,pid,ppid,args" | awk 'NR&amp;gt;1' | sort -rnk2&lt;BR /&gt;&lt;BR /&gt;Note the blank (space) character after the equal sign and before the 'ps' command.  This means that UNIX95 behavior applies only to the command line. &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 09 Oct 2002 19:53:13 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2002-10-09T19:53:13Z</dc:date>
    <item>
      <title>listing top memory using processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822579#M86873</link>
      <description>How do I list my systems top memory using processes.  Running HP-UX 11.0.  &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Oct 2002 19:36:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822579#M86873</guid>
      <dc:creator>William Pribble</dc:creator>
      <dc:date>2002-10-09T19:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: listing top memory using processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822580#M86874</link>
      <description>If you have glance/gpm, you can sort the process list by Resident memory.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Wed, 09 Oct 2002 19:45:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822580#M86874</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-10-09T19:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: listing top memory using processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822581#M86875</link>
      <description>Do a top -h , man top will the be the best palce to start , however if u can install glance , it will give you more stats .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Wed, 09 Oct 2002 19:48:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822581#M86875</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-10-09T19:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: listing top memory using processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822582#M86876</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;To list processes in decending order of virtual memory size, do:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -e -o "user,vsz,pid,ppid,args" | awk 'NR&amp;gt;1' | sort -rnk2&lt;BR /&gt;&lt;BR /&gt;Note the blank (space) character after the equal sign and before the 'ps' command.  This means that UNIX95 behavior applies only to the command line. &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 09 Oct 2002 19:53:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822582#M86876</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-10-09T19:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: listing top memory using processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822583#M86877</link>
      <description>Type this as shown:&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o vsz,ruser,pid,args | sort -rn | more&lt;BR /&gt;&lt;BR /&gt;The largest process will be sorted to the top of the list. NOTE: The size (VSZ) shown does not include shared memory, shared libraries, buffer cache, etc as these are shared.</description>
      <pubDate>Wed, 09 Oct 2002 19:55:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822583#M86877</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-10-09T19:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: listing top memory using processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822584#M86878</link>
      <description>Hi Elaine,&lt;BR /&gt;&lt;BR /&gt;look into the *POSIX* options of "ps(1)", there are some to show what you look for (and then you would "sort" the output accordingly):&lt;BR /&gt;&lt;BR /&gt;UNIX95=x ps -eo pid,flags,sz&lt;BR /&gt;&lt;BR /&gt;"sz" is the amount of RAM used in "pages" (which are usually 4KB in size). For the real page-size check the output of "chatr" on the codefile of the process.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Oct 2002 19:59:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822584#M86878</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2002-10-09T19:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: listing top memory using processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822585#M86879</link>
      <description>Another way is using glance's adviser ..&lt;BR /&gt;# cd /opt/perf/examples/adviser&lt;BR /&gt;# cp proc_mem_leak my_proc&lt;BR /&gt;# vi my_proc&lt;BR /&gt;==&amp;gt; Change the VSSthreshold from 30MB to a lower number .. say 1MB.. so set it to 1000&lt;BR /&gt;# glance -adviser_only -syntax my_proc -iterations 1 &amp;gt; my_output&lt;BR /&gt;Take a look at "my_output" for the details. This is not sorted of course.</description>
      <pubDate>Wed, 09 Oct 2002 20:17:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/listing-top-memory-using-processes/m-p/2822585#M86879</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-10-09T20:17:04Z</dc:date>
    </item>
  </channel>
</rss>

