<?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: Total process size in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/total-process-size/m-p/2843144#M936596</link>
    <description>You could try&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -p&lt;PID&gt; -ovsz&lt;BR /&gt;&lt;BR /&gt;This will give you the size in KB used by the process with number PID&lt;/PID&gt;</description>
    <pubDate>Tue, 12 Nov 2002 14:27:51 GMT</pubDate>
    <dc:creator>Chris Wilshaw</dc:creator>
    <dc:date>2002-11-12T14:27:51Z</dc:date>
    <item>
      <title>Total process size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/total-process-size/m-p/2843143#M936595</link>
      <description>Hello !&lt;BR /&gt;&lt;BR /&gt;This seems to be a trivial question :-)&lt;BR /&gt;&lt;BR /&gt;How do I get the total memory size occupied by a process through a command ? I want to use this in a script. '-l' option of 'ps' command gives the resident size but not the actual size. 'top' and 'glance' give the output but I can not use these commands in a script.&lt;BR /&gt;&lt;BR /&gt;Thank you very much !</description>
      <pubDate>Tue, 12 Nov 2002 14:17:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/total-process-size/m-p/2843143#M936595</guid>
      <dc:creator>Mahesh Kurse</dc:creator>
      <dc:date>2002-11-12T14:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Total process size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/total-process-size/m-p/2843144#M936596</link>
      <description>You could try&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -p&lt;PID&gt; -ovsz&lt;BR /&gt;&lt;BR /&gt;This will give you the size in KB used by the process with number PID&lt;/PID&gt;</description>
      <pubDate>Tue, 12 Nov 2002 14:27:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/total-process-size/m-p/2843144#M936596</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2002-11-12T14:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Total process size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/total-process-size/m-p/2843145#M936597</link>
      <description>UNIX95= ps -e -o vsz,ruser,pid,args | sort -rn</description>
      <pubDate>Tue, 12 Nov 2002 14:30:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/total-process-size/m-p/2843145#M936597</guid>
      <dc:creator>Ken Hubnik_2</dc:creator>
      <dc:date>2002-11-12T14:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Total process size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/total-process-size/m-p/2843146#M936598</link>
      <description>Actually,  you can use top in a script, by using the -n (number of processes to show) and -f (output to text file).&lt;BR /&gt;&lt;BR /&gt;  If you know the PID, you can awk out the size field with something like this.&lt;BR /&gt;&lt;BR /&gt;top -n 200 -f /tmp/top.out&lt;BR /&gt;grep $PID /tmp/top.out | awk '{print $7}'&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Rusty</description>
      <pubDate>Tue, 12 Nov 2002 14:32:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/total-process-size/m-p/2843146#M936598</guid>
      <dc:creator>Rusty Sapper</dc:creator>
      <dc:date>2002-11-12T14:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Total process size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/total-process-size/m-p/2843147#M936599</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;'top' has a not-so-well-documented option to allow data collection into a file:&lt;BR /&gt;&lt;BR /&gt;# top -d1 -f /tmp/topshot&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 12 Nov 2002 14:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/total-process-size/m-p/2843147#M936599</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-11-12T14:33:41Z</dc:date>
    </item>
  </channel>
</rss>

