<?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 - Glance vs. vmstat differences. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205996#M167540</link>
    <description>Free memory in HP-UX is never a simple question because HP-uX is a virtual memory system. Having truly free memory means that you're not using all the RAM you paid for. Often the question about free memory comes up from DBAs when they get cryptic Oracle (or Sybase, Informix, etc) error messages stating that the program is out of memory or not enough memory. I say cryptic because almost none of them define the memory category (ie, local or shared) and this makes troubleshooting difficult.&lt;BR /&gt; &lt;BR /&gt;swapinfo -tm is the best way to see available memory. The total memory available is RAM + some % swap space. As mentioned, Glance shows actual memory usage and is much more accurate than vmstat or top.&lt;BR /&gt; &lt;BR /&gt;There have been several posts here in the forums about Oracle and memory problems. Since you have only 2Gb of RAM, you are definitely going to feel performance pain with a lot of users. swapinfo will tell you (as well as Glance) how mush swap is being used. But also note that there are sysadmin safety fences (maxdsiz and ulimit -a) that will prevent programs from getting as much memory as they need. Read the memory and process management white papers (docs.hp.com) that talk about the limits for 32bit programs.</description>
    <pubDate>Mon, 01 Mar 2004 13:34:08 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2004-03-01T13:34:08Z</dc:date>
    <item>
      <title>Memory - Glance vs. vmstat differences.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205988#M167532</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Svr: HPUX 11.11 2GB Ram Oracle 8.1.7.0 MC/SG 11.04 OVO 7.1 L3000&lt;BR /&gt;&lt;BR /&gt;I am trying to determine how much free memory we have at any given point in time on our server. I am using glance and vmstat. I get two completly different numbers.&lt;BR /&gt;&lt;BR /&gt;glance:  &lt;BR /&gt;Free Mem: 270.3mb&lt;BR /&gt;vmstat:&lt;BR /&gt;r     b     w      avm    free  &lt;BR /&gt;2     1     0   140078   69149&lt;BR /&gt;&lt;BR /&gt;Any ideas as to what I should be using for metrics? (I want to gather some data for Oracle/kernel tuning purposes).&lt;BR /&gt;&lt;BR /&gt;10 points to any good answer.&lt;BR /&gt;TIA, Gino&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Mar 2004 12:47:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205988#M167532</guid>
      <dc:creator>Gino Castoldi_2</dc:creator>
      <dc:date>2004-03-01T12:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Memory - Glance vs. vmstat differences.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205989#M167533</link>
      <description>Herfe's a c program that someone in the forumns wrote called memdetail.&lt;BR /&gt;&lt;BR /&gt;Output like:&lt;BR /&gt;&lt;BR /&gt;# memdetail&lt;BR /&gt;Memory Stat      total    used   avail   %used&lt;BR /&gt;physical        10080.0 3115.4  6964.6     31%&lt;BR /&gt;active virtual   657.2   534.5   122.7     81%&lt;BR /&gt;active real      313.3   220.8    92.5     70%&lt;BR /&gt;memory swap     7697.2  1771.9  5925.3     23%&lt;BR /&gt;device swap     26528.0  382.6  26145.4     1%&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 01 Mar 2004 12:49:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205989#M167533</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-03-01T12:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Memory - Glance vs. vmstat differences.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205990#M167534</link>
      <description>Gino,&lt;BR /&gt;&lt;BR /&gt;I would always trust Glance over vmstat.  The legacy tools like vmstat were developed years ago in the infancy of unix and don't always deal well with today's modern systems.  Glance, on the other hand, has been designed, developed and improved over the years to give an accurate picture of what's really going on.  That's why you spent the money for it, to trust it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 01 Mar 2004 12:51:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205990#M167534</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-03-01T12:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Memory - Glance vs. vmstat differences.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205991#M167535</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Pete:&lt;BR /&gt;Makes sense, vmstat was not created when&lt;BR /&gt;multi-cpu, etc. were available.&lt;BR /&gt;&lt;BR /&gt;Geoff:&lt;BR /&gt;Does that "c" program work with hp-ux 11.11?&lt;BR /&gt;&lt;BR /&gt;10 points to any good answer.&lt;BR /&gt;TIA, Gino&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Mar 2004 12:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205991#M167535</guid>
      <dc:creator>Gino Castoldi_2</dc:creator>
      <dc:date>2004-03-01T12:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Memory - Glance vs. vmstat differences.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205992#M167536</link>
      <description>Yes it does - I run it on 11.11 and 11.0....&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 01 Mar 2004 12:56:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205992#M167536</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-03-01T12:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Memory - Glance vs. vmstat differences.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205993#M167537</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Glance: 270.3 MB&lt;BR /&gt;vmstat: 69149 pages = 69149*4 = 276596&lt;BR /&gt;&lt;BR /&gt;That's almost equal??.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 01 Mar 2004 13:01:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205993#M167537</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-03-01T13:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Memory - Glance vs. vmstat differences.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205994#M167538</link>
      <description>Hi (Again),&lt;BR /&gt;&lt;BR /&gt;I could have made it little better.&lt;BR /&gt;&lt;BR /&gt;276596/1024 = 270.11 MB&lt;BR /&gt;&lt;BR /&gt;Am I missing anything here?.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 01 Mar 2004 13:02:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205994#M167538</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-03-01T13:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Memory - Glance vs. vmstat differences.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205995#M167539</link>
      <description>Gurus,&lt;BR /&gt;&lt;BR /&gt;Would it be Ok to get as follows?&lt;BR /&gt;&lt;BR /&gt;echo "freemem/D"|adb -k /stand/vmunix /dev/kmem&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Mar 2004 13:06:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205995#M167539</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-03-01T13:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Memory - Glance vs. vmstat differences.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205996#M167540</link>
      <description>Free memory in HP-UX is never a simple question because HP-uX is a virtual memory system. Having truly free memory means that you're not using all the RAM you paid for. Often the question about free memory comes up from DBAs when they get cryptic Oracle (or Sybase, Informix, etc) error messages stating that the program is out of memory or not enough memory. I say cryptic because almost none of them define the memory category (ie, local or shared) and this makes troubleshooting difficult.&lt;BR /&gt; &lt;BR /&gt;swapinfo -tm is the best way to see available memory. The total memory available is RAM + some % swap space. As mentioned, Glance shows actual memory usage and is much more accurate than vmstat or top.&lt;BR /&gt; &lt;BR /&gt;There have been several posts here in the forums about Oracle and memory problems. Since you have only 2Gb of RAM, you are definitely going to feel performance pain with a lot of users. swapinfo will tell you (as well as Glance) how mush swap is being used. But also note that there are sysadmin safety fences (maxdsiz and ulimit -a) that will prevent programs from getting as much memory as they need. Read the memory and process management white papers (docs.hp.com) that talk about the limits for 32bit programs.</description>
      <pubDate>Mon, 01 Mar 2004 13:34:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-glance-vs-vmstat-differences/m-p/3205996#M167540</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-03-01T13:34:08Z</dc:date>
    </item>
  </channel>
</rss>

