<?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: Memory consumed by process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumed-by-process/m-p/2723235#M63557</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt; the very nature of memory/process management makes "exact" memory consumption difficult.&lt;BR /&gt;One of the way to get the accurate value  is:&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1&lt;BR /&gt;&lt;BR /&gt;HTh&lt;BR /&gt;raj</description>
    <pubDate>Wed, 15 May 2002 20:42:33 GMT</pubDate>
    <dc:creator>Roger Baptiste</dc:creator>
    <dc:date>2002-05-15T20:42:33Z</dc:date>
    <item>
      <title>Memory consumed by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumed-by-process/m-p/2723230#M63552</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;How can i find the exact amount of memory used by a process or a progamm.&lt;BR /&gt;In Glance, what is the difference between RSS and VSS in the detail process screen ?&lt;BR /&gt;&lt;BR /&gt;thank's&lt;BR /&gt;</description>
      <pubDate>Tue, 14 May 2002 11:20:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumed-by-process/m-p/2723230#M63552</guid>
      <dc:creator>ESPINEL Pascal</dc:creator>
      <dc:date>2002-05-14T11:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Memory consumed by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumed-by-process/m-p/2723231#M63553</link>
      <description>1.  Use Glance.&lt;BR /&gt;&lt;BR /&gt;2.  Simply put, RSS is real or physical memory, VSS is virtual or real plus swap.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 14 May 2002 11:24:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumed-by-process/m-p/2723231#M63553</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-05-14T11:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Memory consumed by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumed-by-process/m-p/2723232#M63554</link>
      <description>In glance, I use the graphical one, you can get "help":&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The size (in KB) of resident memory for the process.  This consists of text, data, stack, as well as the process' portion of shared memory regions (such as, shared libraries, text segments, and shared data).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Resident memory (RSS) is calculated as&lt;BR /&gt;&lt;BR /&gt;RSS = sum of private region pages +&lt;BR /&gt;&lt;BR /&gt;      (sum of shared region pages /&lt;BR /&gt;&lt;BR /&gt;       number of references)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The number of references is a count of the number of attachments to the memory region.  Attachments, for shared regions, may come from several processes sharing the same memory, a single process with multiple attachments, or combinations of these.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This value is only updated when a process uses CPU.  Thus, under memory pressure, this value may be higher than the actual amount of resident memory for processes which are idle.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On HP-UX 10.20, the kernel instrumentation doubles the reported size of private regions.  To compensate for this, the total reported RSS for each process is halved.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On HP-UX 11.0 and beyond, this metric accurately reports the resident memory for the process.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note, a value of "na" may be shown for the swapper process.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This metric is specific to a process.  If this metric is reported for a kernel thread, the value for its associated process is given.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;VSS:&lt;BR /&gt;&lt;BR /&gt;This consists of the sum of the virtual set size of all private and shared memory regions used by this process. This metric is not affected by the reference count for those regions which are shared.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Note, a value of "na" may be shown for the swapper process.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This metric is specific to a process.  If this metric is reported for a kernel thread, the value for its associated process is given.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;BR /&gt;</description>
      <pubDate>Tue, 14 May 2002 11:28:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumed-by-process/m-p/2723232#M63554</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-05-14T11:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Memory consumed by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumed-by-process/m-p/2723233#M63555</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;For finding the memory utilzation of a process you can also use 'top' and 'ps'.  With 'top' look at the column headed "SIZE".  With 'ps' look at 'sz'.&lt;BR /&gt;&lt;BR /&gt;Note the 'ps -el' reports in 4kb page sizes.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 14 May 2002 11:34:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumed-by-process/m-p/2723233#M63555</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-05-14T11:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Memory consumed by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumed-by-process/m-p/2723234#M63556</link>
      <description>RSS: Think of this as the amount of RAM chip memory being used by the process at this moment.&lt;BR /&gt;&lt;BR /&gt;VSS: Think of this as the actual size of the process, most of which is either code that sits in the original executable file until it is needed, at which time it is paged in, or data that has been temporairly paged out to the swap area.&lt;BR /&gt;&lt;BR /&gt;So VSS = RSS + code not paged in at the moment + data temporairly paged out at this moment.</description>
      <pubDate>Wed, 15 May 2002 19:46:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumed-by-process/m-p/2723234#M63556</guid>
      <dc:creator>Todd Larchuk</dc:creator>
      <dc:date>2002-05-15T19:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Memory consumed by process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumed-by-process/m-p/2723235#M63557</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; the very nature of memory/process management makes "exact" memory consumption difficult.&lt;BR /&gt;One of the way to get the accurate value  is:&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1&lt;BR /&gt;&lt;BR /&gt;HTh&lt;BR /&gt;raj</description>
      <pubDate>Wed, 15 May 2002 20:42:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-consumed-by-process/m-p/2723235#M63557</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2002-05-15T20:42:33Z</dc:date>
    </item>
  </channel>
</rss>

