<?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 question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302737#M338306</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can try with glance evaluation version.&lt;BR /&gt;&lt;BR /&gt;Also here is the doc for HP-UX memory Management&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/1218/mem_mgt.html" target="_blank"&gt;http://docs.hp.com/en/1218/mem_mgt.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Javed</description>
    <pubDate>Mon, 10 Nov 2008 14:49:01 GMT</pubDate>
    <dc:creator>Javed Khan_1</dc:creator>
    <dc:date>2008-11-10T14:49:01Z</dc:date>
    <item>
      <title>memory question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302735#M338304</link>
      <description>I'm looking for help to get a better understanding of memory on our HP-UX 9000 series server running 11i v1.  PA-RISC, 4 proc, 6Gb.  Running 1 instance of IDS 9.4 with roughly 140 users.&lt;BR /&gt;&lt;BR /&gt;The output of "# dmesg | grep Physical" shows we have 6 GB of physical RAM installed:&lt;BR /&gt;Physical: 6291456 Kbytes, lockable: 4735068 Kbytes, available: 5453328 Kbytes&lt;BR /&gt;&lt;BR /&gt;Therefore at bootup, I'm assuming 0.8Gb for the kernel:&lt;BR /&gt;"Physical memory"="Available memory"+"/stand/vmunix"&lt;BR /&gt;6Gb=5.2Gb+0.8Gb&lt;BR /&gt;&lt;BR /&gt;When I run vmstat I'm expecting to see all 5.2Gb of avail RAM, however in the memory section it only shows:&lt;BR /&gt;&lt;BR /&gt;avm=731129&lt;BR /&gt;free=114167&lt;BR /&gt;&lt;BR /&gt;I believe these are in pages.  "# dmesg | grep physical" shows our HP-UX has 4kb/page, so thats roughly 2.79 GB active vm, 446 Mb free, correct?&lt;BR /&gt;&lt;BR /&gt;Why isnt vmstat showing all the "available memory"?  Is the kernel just using 0.8Gb at startup and growing to roughly 3Gb?&lt;BR /&gt;&lt;BR /&gt;Also, I thought HP defined VM as: all available memory + swap space?  Then I would expect to see the 5.2GB available memory + 4096Mb dev swap + 4633Mb memory swap (pseudo) in vmstat.  Is this incorrect thinking?&lt;BR /&gt;&lt;BR /&gt;We dont have glance.  I have yet to play with sar.  Mainly using top, vmstat and swapinfo at this time.&lt;BR /&gt;&lt;BR /&gt;I'm trying to digest the memory management white paper, the system&amp;amp;network admin I book we have as well as posts on this forum that I have read and connect the dots.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 07 Nov 2008 23:06:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302735#M338304</guid>
      <dc:creator>Chris Nelson 72</dc:creator>
      <dc:date>2008-11-07T23:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: memory question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302736#M338305</link>
      <description>It would be interesting to see your "swapinfo -tam" output.&lt;BR /&gt;&lt;BR /&gt;Is there a specific problem you are trying to solve?  Are you doing capacity planning?</description>
      <pubDate>Sat, 08 Nov 2008 01:31:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302736#M338305</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-08T01:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: memory question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302737#M338306</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can try with glance evaluation version.&lt;BR /&gt;&lt;BR /&gt;Also here is the doc for HP-UX memory Management&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/1218/mem_mgt.html" target="_blank"&gt;http://docs.hp.com/en/1218/mem_mgt.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Javed</description>
      <pubDate>Mon, 10 Nov 2008 14:49:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302737#M338306</guid>
      <dc:creator>Javed Khan_1</dc:creator>
      <dc:date>2008-11-10T14:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: memory question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302738#M338307</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;This document should help you on your quest to understand memory management better:&lt;BR /&gt;&lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/memory.htm&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Jaime.</description>
      <pubDate>Mon, 10 Nov 2008 15:15:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302738#M338307</guid>
      <dc:creator>Jaime Bolanos Rojas.</dc:creator>
      <dc:date>2008-11-10T15:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: memory question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302739#M338308</link>
      <description>Here is my vmstat and swapinfo -tam output.&lt;BR /&gt;&lt;BR /&gt;# vmstat&lt;BR /&gt;procs&lt;BR /&gt;r     b     w&lt;BR /&gt;1     1     0 &lt;BR /&gt;&lt;BR /&gt;memory&lt;BR /&gt;avm    free&lt;BR /&gt;651369    7458&lt;BR /&gt;&lt;BR /&gt;page&lt;BR /&gt;re   at    pi   po    fr   de    sr &lt;BR /&gt;113   37   0    0     0    0     6&lt;BR /&gt;&lt;BR /&gt;faults&lt;BR /&gt;in     sy    cs  &lt;BR /&gt;1280  12540   715&lt;BR /&gt;&lt;BR /&gt;cpu&lt;BR /&gt;us sy id&lt;BR /&gt;6  2  92&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tam&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev        4096     783    3313   19%       0       -    1  /dev/vx/dsk/rootdg/swapvol&lt;BR /&gt;reserve       -    1958   -1958&lt;BR /&gt;memory     4633    3323    1310   72%&lt;BR /&gt;total      8729    6064    2665   69%       -       0    -&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Nov 2008 15:19:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302739#M338308</guid>
      <dc:creator>Chris Nelson 72</dc:creator>
      <dc:date>2008-11-10T15:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: memory question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302740#M338309</link>
      <description>Dennis-&lt;BR /&gt;&lt;BR /&gt;Yeah, mainly looking at this from a capacity planning point of view.  We will most likely be upgrading the server hardware in the next 6 - 12 months and I wanted a good understanding of where we are at resource wise now.  Having 6 physical gigs and only seeing 3 in vmstat is confusing.&lt;BR /&gt;&lt;BR /&gt;Jaime-&lt;BR /&gt;&lt;BR /&gt;Thanks for the link, I will give that a read soon as time allows.&lt;BR /&gt;&lt;BR /&gt;Jared-&lt;BR /&gt;&lt;BR /&gt;Thanks for the tip on the eval version.  I would like to become proficient with native utilities first though.  I did read the white paper you linked already.  I was able to absorb what I was ready for at this time.  My questions will hopefully help me get a better understanding of the topic.&lt;BR /&gt;&lt;BR /&gt;thanks all,&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 12 Nov 2008 23:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302740#M338309</guid>
      <dc:creator>Chris Nelson 72</dc:creator>
      <dc:date>2008-11-12T23:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: memory question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302741#M338310</link>
      <description>Can anyone help further explain the output of the vmstat and swapinfo utils?&lt;BR /&gt;&lt;BR /&gt;vmstat output:&lt;BR /&gt;active 651,369 pages (2.48 GB)&lt;BR /&gt;free 7,458 pages (29.1 MB)&lt;BR /&gt;&lt;BR /&gt;Given the vmstat numbers, to get the total amount of Virtual Memory, do you add active+free=total vm?&lt;BR /&gt;2.48GB+29.1MB=2.51GB  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have 5.2GB "active memory" (6.0GB physical)&lt;BR /&gt;I have 4GB of device swap.&lt;BR /&gt;I have 4.52GB of pseudo swap.&lt;BR /&gt;&lt;BR /&gt;Given those numbers, shouldnt total VM be:&lt;BR /&gt;VM="active memory"+"all swap"? (13.72GB) &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The 2.51GB total VM vmstat reports on isnt close to the 13.72GB total VM I *think* I should have.  So what am I missing?</description>
      <pubDate>Fri, 21 Nov 2008 17:20:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302741#M338310</guid>
      <dc:creator>Chris Nelson 72</dc:creator>
      <dc:date>2008-11-21T17:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: memory question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302742#M338311</link>
      <description>&amp;gt;to get the total amount of Virtual Memory,&lt;BR /&gt;&lt;BR /&gt;You simply look at the total line for "swapinfo -tam".&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Given those numbers, shouldn't total VM be:&lt;BR /&gt;&amp;gt;VM="active memory"+"all swap"? (13.72GB) &lt;BR /&gt;&lt;BR /&gt;You are adding some up twice.  "active memory" is RAM, swap is swap.</description>
      <pubDate>Fri, 21 Nov 2008 22:54:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-question/m-p/4302742#M338311</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-11-21T22:54:19Z</dc:date>
    </item>
  </channel>
</rss>

