<?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: Physical Memory != Memory from Top in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-memory-memory-from-top/m-p/2472102#M16780</link>
    <description>Please explain the memory values reported by top(1).&lt;BR /&gt;&lt;BR /&gt;Configuration Info&lt;BR /&gt;&lt;BR /&gt;Solution&lt;BR /&gt;&lt;BR /&gt;top() calls pstat() to get its memory information.  The&lt;BR /&gt;values it retrieves/displays are:&lt;BR /&gt;&lt;BR /&gt;psd_rm      Total physical memory pages in the system&lt;BR /&gt;            dedicated to text, data, or stack segments&lt;BR /&gt;            for all processes on the system.&lt;BR /&gt;&lt;BR /&gt;psd_arm     Total physical memory pages for runnable&lt;BR /&gt;            processes, as opposed to sleeping processes.&lt;BR /&gt;&lt;BR /&gt;psd_vm      Total memory pages dedicated to text, data,&lt;BR /&gt;            or stack segments for all processes on the&lt;BR /&gt;            system.  Some of these pages are paged out&lt;BR /&gt;            to disk.&lt;BR /&gt;&lt;BR /&gt;psd_avm     Total memory pages for runnable processes,&lt;BR /&gt;            as opposed to sleeping or stopped processes.&lt;BR /&gt;&lt;BR /&gt;psd_free    Physical pages the system considers to&lt;BR /&gt;            be unused and available to processes.&lt;BR /&gt;&lt;BR /&gt;These values map to the top() output as follows:&lt;BR /&gt;&lt;BR /&gt;     Memory: 2676K (1492K) real, 3536K (1276K) virtual, 2244K free&lt;BR /&gt;             psd_rm (psd_arm)    psd_vm (psd_avm)       psd_free&lt;BR /&gt;&lt;BR /&gt;The confusion comes in that top is not reporting anything&lt;BR /&gt;about what you have available, but rather what is being used.&lt;BR /&gt;For example, in the line above, 2676K real does not mean there is&lt;BR /&gt;2676Kbytes of total physical memory but that this amount has been&lt;BR /&gt;used for process memory structures.&lt;BR /&gt;&lt;BR /&gt;Here is an example memory line from top output:&lt;BR /&gt;&lt;BR /&gt;| Memory: 2080K (1672K) real, 5564K (3044K) virtual,  696K free&lt;BR /&gt;|           ^       ^           ^      ^                ^&lt;BR /&gt;|           |       |           |      |                |&lt;BR /&gt;|           1       2           3      4                5&lt;BR /&gt;&lt;BR /&gt;The entries are described below:&lt;BR /&gt;&lt;BR /&gt;1. Total physical memory in the system dedicated to text, data or&lt;BR /&gt;   stack segments for all processes on the system.&lt;BR /&gt;&lt;BR /&gt;2. Total physical memory for runnable processes, as opposed to&lt;BR /&gt;   sleeping processes.&lt;BR /&gt;&lt;BR /&gt;3. Total memory dedicated to text, data or stack segments for all processes&lt;BR /&gt;   on the system.  Some of this is paged out to disk (that is, not all&lt;BR /&gt;   of this is in current physical memory.&lt;BR /&gt;&lt;BR /&gt;4. Total memory for runnable processes, as opposed to sleeping or stopped&lt;BR /&gt;   processes.&lt;BR /&gt;&lt;BR /&gt;5. Physical memory the system considers to be unused and available to new&lt;BR /&gt;   processes.  When this value is low, swapping is likely to occur.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 08 Dec 2000 16:28:36 GMT</pubDate>
    <dc:creator>Alex Glennie</dc:creator>
    <dc:date>2000-12-08T16:28:36Z</dc:date>
    <item>
      <title>Physical Memory != Memory from Top</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-memory-memory-from-top/m-p/2472101#M16779</link>
      <description>I have been hunting in the forums for an answer to this question but haven't been able to turn anything up.&lt;BR /&gt;&lt;BR /&gt;We are running HP-UX e-com B.11.00 A 9000/898 1608673371 two-user license and at boot time the system reports that it has Physical memory of 2621440 Kb, Lockable 2234656 Kb, and Avail of 2304564 Kb.  That's all fine and good but when I run top I don't seem to be 'seeing' all of the memory.  Is there some way of disabling memory on a system?  I don't have the STM stuff installed yet but if I need to I will.  Are the specific commands that would tell me if I am using all the memory that the kernel detected at boot?&lt;BR /&gt;&lt;BR /&gt;thanks!&lt;BR /&gt;ian&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Dec 2000 16:18:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-memory-memory-from-top/m-p/2472101#M16779</guid>
      <dc:creator>Ian_7</dc:creator>
      <dc:date>2000-12-08T16:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Physical Memory != Memory from Top</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/physical-memory-memory-from-top/m-p/2472102#M16780</link>
      <description>Please explain the memory values reported by top(1).&lt;BR /&gt;&lt;BR /&gt;Configuration Info&lt;BR /&gt;&lt;BR /&gt;Solution&lt;BR /&gt;&lt;BR /&gt;top() calls pstat() to get its memory information.  The&lt;BR /&gt;values it retrieves/displays are:&lt;BR /&gt;&lt;BR /&gt;psd_rm      Total physical memory pages in the system&lt;BR /&gt;            dedicated to text, data, or stack segments&lt;BR /&gt;            for all processes on the system.&lt;BR /&gt;&lt;BR /&gt;psd_arm     Total physical memory pages for runnable&lt;BR /&gt;            processes, as opposed to sleeping processes.&lt;BR /&gt;&lt;BR /&gt;psd_vm      Total memory pages dedicated to text, data,&lt;BR /&gt;            or stack segments for all processes on the&lt;BR /&gt;            system.  Some of these pages are paged out&lt;BR /&gt;            to disk.&lt;BR /&gt;&lt;BR /&gt;psd_avm     Total memory pages for runnable processes,&lt;BR /&gt;            as opposed to sleeping or stopped processes.&lt;BR /&gt;&lt;BR /&gt;psd_free    Physical pages the system considers to&lt;BR /&gt;            be unused and available to processes.&lt;BR /&gt;&lt;BR /&gt;These values map to the top() output as follows:&lt;BR /&gt;&lt;BR /&gt;     Memory: 2676K (1492K) real, 3536K (1276K) virtual, 2244K free&lt;BR /&gt;             psd_rm (psd_arm)    psd_vm (psd_avm)       psd_free&lt;BR /&gt;&lt;BR /&gt;The confusion comes in that top is not reporting anything&lt;BR /&gt;about what you have available, but rather what is being used.&lt;BR /&gt;For example, in the line above, 2676K real does not mean there is&lt;BR /&gt;2676Kbytes of total physical memory but that this amount has been&lt;BR /&gt;used for process memory structures.&lt;BR /&gt;&lt;BR /&gt;Here is an example memory line from top output:&lt;BR /&gt;&lt;BR /&gt;| Memory: 2080K (1672K) real, 5564K (3044K) virtual,  696K free&lt;BR /&gt;|           ^       ^           ^      ^                ^&lt;BR /&gt;|           |       |           |      |                |&lt;BR /&gt;|           1       2           3      4                5&lt;BR /&gt;&lt;BR /&gt;The entries are described below:&lt;BR /&gt;&lt;BR /&gt;1. Total physical memory in the system dedicated to text, data or&lt;BR /&gt;   stack segments for all processes on the system.&lt;BR /&gt;&lt;BR /&gt;2. Total physical memory for runnable processes, as opposed to&lt;BR /&gt;   sleeping processes.&lt;BR /&gt;&lt;BR /&gt;3. Total memory dedicated to text, data or stack segments for all processes&lt;BR /&gt;   on the system.  Some of this is paged out to disk (that is, not all&lt;BR /&gt;   of this is in current physical memory.&lt;BR /&gt;&lt;BR /&gt;4. Total memory for runnable processes, as opposed to sleeping or stopped&lt;BR /&gt;   processes.&lt;BR /&gt;&lt;BR /&gt;5. Physical memory the system considers to be unused and available to new&lt;BR /&gt;   processes.  When this value is low, swapping is likely to occur.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Dec 2000 16:28:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/physical-memory-memory-from-top/m-p/2472102#M16780</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2000-12-08T16:28:36Z</dc:date>
    </item>
  </channel>
</rss>

