<?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: Confused over memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682073#M245573</link>
    <description>Thanks, John for the reply.&lt;BR /&gt;&lt;BR /&gt;The reason I wan to determine what actual memory I have &amp;amp; what is free is that I come from a Unixware background &amp;amp; I can remember years ago fitting extra memory &amp;amp; thinking all was OK but the memory was not picked up until I added an extra entry to the /stand/boot file. I don't appear to have any performance issues with either server but I want to be clear what memory I have installed &amp;amp; how much we are currently using. From sysinfo &amp;amp; SAM I have 4GB installed but I can't figure out if that 4GB is available &amp;amp; how much is in use &amp;amp; how much is free.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Tim</description>
    <pubDate>Thu, 01 Dec 2005 05:46:06 GMT</pubDate>
    <dc:creator>Tim O'Connell</dc:creator>
    <dc:date>2005-12-01T05:46:06Z</dc:date>
    <item>
      <title>Confused over memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682068#M245568</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have 2 x RP5430 HP-UX 11.11 servers. Last night, a HP engineer added an extra 2GB of memory to each server bringing the total memory to 4GB on each server. If I look at the physical memory on the servers thru' sam or thru sysinfo(which runs cstm) I can verify that there is 4GB installed. I need to be sure that it is all available for use. I know TOP isn't very accurate but when I run it server 1 I get very little (49mb) memory free but on the other server it shows almost 2GB free.Swapinfo -tam gives similar results on both servers as below:&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      96    4000    2%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    1784   -1784&lt;BR /&gt;memory     3149    2215     934   70%&lt;BR /&gt;total      7245    4095    3150   57%       -       0    -&lt;BR /&gt;&lt;BR /&gt;Output from Top:&lt;BR /&gt;Cpu states:&lt;BR /&gt; LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS&lt;BR /&gt; 0.40  18.9%   0.0%   4.2%  76.9%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;&lt;BR /&gt;Memory: 1470992K (749640K) real, 2008552K (982068K) virtual, 23920K free  Page#&lt;BR /&gt;1/21&lt;BR /&gt;&lt;BR /&gt;Is there another way that I can check the memory in use/free or do I need to change some kernel params after increasing the memory&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Thu, 01 Dec 2005 04:40:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682068#M245568</guid>
      <dc:creator>Tim O'Connell</dc:creator>
      <dc:date>2005-12-01T04:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Confused over memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682069#M245569</link>
      <description>Use vmstat to get the memory free statistics. Or else go to sam as,&lt;BR /&gt;&lt;BR /&gt;sam -&amp;gt; performance monitor -&amp;gt; system properties -&amp;gt; memory&lt;BR /&gt;&lt;BR /&gt;check active and total memory usage statistics. Use Refresh button to update satistics.&lt;BR /&gt;&lt;BR /&gt;PS: Top output is not correct always.&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Thu, 01 Dec 2005 04:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682069#M245569</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-12-01T04:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Confused over memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682070#M245570</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;use vmstat command to check the free memory:&lt;BR /&gt;&lt;BR /&gt;# vmstat 2 15&lt;BR /&gt;15 2 seconds interval&lt;BR /&gt;&lt;BR /&gt;under the free memory column, it is virtual memory, so multiply about 4k to get free memory.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Thu, 01 Dec 2005 04:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682070#M245570</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2005-12-01T04:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Confused over memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682071#M245571</link>
      <description>Thanks for the replies. I'm still not sure if I have 4gb of memory available. Below are outputs from SAM &amp;amp; vmstat:&lt;BR /&gt;SAM:&lt;BR /&gt; Physical Memory:         4099.7 MB                          &lt;BR /&gt;Real Memory:                                                       &lt;BR /&gt;Active:                724184.3 KB                                &lt;BR /&gt;Total:                 1500580.1 KB                               &lt;BR /&gt;Virtual Memory:                                                   &lt;BR /&gt;Active:                957716.9 KB                              &lt;BR /&gt;Total:                 2083485.1 KB                             &lt;BR /&gt;Free Memory Pages:       13068 at 4 KB/page                       &lt;BR /&gt;Swap Space:                                                       &lt;BR /&gt;Avail:                 4096 MB                                  .  &lt;BR /&gt;Used:                  1953 MB   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Output from vmstat:&lt;BR /&gt;&lt;BR /&gt;    procs           memory                   page                          &lt;BR /&gt;    faults       cpu&lt;BR /&gt;    r     b     w      avm    free   re   at    pi   po    fr   de    sr     in &lt;BR /&gt;    sy    cs  us sy id&lt;BR /&gt;    1     0     0   235827   16817   63   46     1    0     0    0    42    814 &lt;BR /&gt;  5237  1133  12  6 82&lt;BR /&gt; &lt;BR /&gt;Free is showing as 16817&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Thu, 01 Dec 2005 05:05:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682071#M245571</guid>
      <dc:creator>Tim O'Connell</dc:creator>
      <dc:date>2005-12-01T05:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Confused over memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682072#M245572</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;judging by this swapinfo line:&lt;BR /&gt; &lt;BR /&gt;dev 4096 96 4000 2% 0 - 1 /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;"96%" means - in my opinion - that you have at a certain time since last boot used 96% of your swaparea.&lt;BR /&gt;However, the value is not immediately updated, but since memory was inserted last night, the last boot was probably not long ago.&lt;BR /&gt;&lt;BR /&gt;But instead of looking at memory consumption it is - again my opinion - more interesting to watch the here-and-now situation, which you can do by executing  vmstat and look for the value of the "po" column; if that amounts to more than 0, it means that the system is paging/swapping or whatever people prefer calling it, and it definitely means that the system has used its entire memory.&lt;BR /&gt;&lt;BR /&gt;It is up to discussion which value for "po" would be acceptible; my opinion is that the best would be "0".&lt;BR /&gt;&lt;BR /&gt;Since you have doubled your memory and - mu guess - still have memory/performance problems, you should investigate recent changes on your system.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Dec 2005 05:30:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682072#M245572</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2005-12-01T05:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Confused over memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682073#M245573</link>
      <description>Thanks, John for the reply.&lt;BR /&gt;&lt;BR /&gt;The reason I wan to determine what actual memory I have &amp;amp; what is free is that I come from a Unixware background &amp;amp; I can remember years ago fitting extra memory &amp;amp; thinking all was OK but the memory was not picked up until I added an extra entry to the /stand/boot file. I don't appear to have any performance issues with either server but I want to be clear what memory I have installed &amp;amp; how much we are currently using. From sysinfo &amp;amp; SAM I have 4GB installed but I can't figure out if that 4GB is available &amp;amp; how much is in use &amp;amp; how much is free.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Thu, 01 Dec 2005 05:46:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682073#M245573</guid>
      <dc:creator>Tim O'Connell</dc:creator>
      <dc:date>2005-12-01T05:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Confused over memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682074#M245574</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;please forget about the my comment about the swapinfo line in the post before, "96" is of course not 96%, only 96 mb, which is not a lot. However, as it is not "0" it still indicates that your system has swapped/paged since last boot. &lt;BR /&gt;&lt;BR /&gt;After my previous posting I have noticed your vmstat posting, where the values for "po" seems to be "0", which looks good. Does it change when doing e.g.:&lt;BR /&gt;# vmstat 2 20&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Dec 2005 05:58:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682074#M245574</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2005-12-01T05:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Confused over memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682075#M245575</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;PO stays at 0&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Thu, 01 Dec 2005 06:01:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682075#M245575</guid>
      <dc:creator>Tim O'Connell</dc:creator>
      <dc:date>2005-12-01T06:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Confused over memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682076#M245576</link>
      <description>Using the following script I have determined that I have 4GB memory installed but the free memory is only 80mb. Something has chewed up the extra 2GB of memory. Anyone help me in identifying where the memory has gone?.&lt;BR /&gt;&lt;BR /&gt;Script:&lt;BR /&gt;&lt;BR /&gt;FREE=$(vmstat 2 1 |awk '{print $5}'|tail -1)&lt;BR /&gt;TOTMEM=$(echo "phys_mem_pages/D" |adb -k /stand/vmunix /dev/mem|tail -1|awk '{FS&lt;BR /&gt;=":";print $2}')&lt;BR /&gt;(( PERCENT = $FREE * 100 / $TOTMEM ))&lt;BR /&gt;echo "TOTAL MEMORY  $TOTMEM    Free MEMORY  $FREE"&lt;BR /&gt;echo "Free memory is $PERCENT %"&lt;BR /&gt;&lt;BR /&gt;Output (multiply result * 4)&lt;BR /&gt;&lt;BR /&gt;# ksh  ky_check_mem&lt;BR /&gt;TOTAL MEMORY    1048576    Free MEMORY  19671&lt;BR /&gt;Free memory is 1 %</description>
      <pubDate>Thu, 01 Dec 2005 09:19:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682076#M245576</guid>
      <dc:creator>Tim O'Connell</dc:creator>
      <dc:date>2005-12-01T09:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Confused over memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682077#M245577</link>
      <description>Please check your email's in tray. I've attached kmeminfo which may help here ...</description>
      <pubDate>Thu, 01 Dec 2005 09:32:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682077#M245577</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2005-12-01T09:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Confused over memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682078#M245578</link>
      <description>Thanks, Alex&lt;BR /&gt;&lt;BR /&gt;kmeminfo has identified where my problem is - -how to resolve it is the next question. I rebooted our 2nd server(which is identical to the main one) &amp;amp; ran kmeminfo which shows 2GB of memory free which is what I would expect. I then ran kmeminfo on the live server &amp;amp; memory is similar in usage except for KERNEL usage. On the live server there is 658284 * 4 in use which is my extra 2GB + what it was using but on the 2nd server its only 143932 *4.  The major differences are in Bufcache + Dynamic. Last night after the HP Engineer installed the memory ther was 2GB free (TOP) on the LIVE server. Can you help me further. Do I need to do some Kernel tuning?.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Thu, 01 Dec 2005 10:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682078#M245578</guid>
      <dc:creator>Tim O'Connell</dc:creator>
      <dc:date>2005-12-01T10:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Confused over memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682079#M245579</link>
      <description>What is max_dbc_pct set to on both machines?  It is possible that one machine is still set to the (dumb) default of 50, while the other was tuned down to some more reasonable value.&lt;BR /&gt;&lt;BR /&gt;If it is still the default, then change the value to something around 10 or 15 (15% of 4GB RAM = 600MB) which is more reasonable.  2GB (50% of 4GB) is overkill.</description>
      <pubDate>Thu, 01 Dec 2005 10:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682079#M245579</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-12-01T10:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Confused over memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682080#M245580</link>
      <description>Thanks, Patrick&lt;BR /&gt;&lt;BR /&gt;That's the problem. The test server is set to 10 (dbc-max-pct) but the live one is set to 50. Will make the changes tonight. Thanks to everyone who contributed. Assigning points now &amp;amp; closing the thread.&lt;BR /&gt;&lt;BR /&gt;Thanks a million,&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Thu, 01 Dec 2005 10:50:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-over-memory/m-p/3682080#M245580</guid>
      <dc:creator>Tim O'Connell</dc:creator>
      <dc:date>2005-12-01T10:50:16Z</dc:date>
    </item>
  </channel>
</rss>

