<?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: Monitor Memory Usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103092#M147263</link>
    <description>&lt;BR /&gt;Hi&lt;BR /&gt;&lt;BR /&gt;you can use the following tools .&lt;BR /&gt; &lt;BR /&gt;top&lt;BR /&gt;glance -m&lt;BR /&gt;perfview &lt;BR /&gt;&lt;BR /&gt;see memory management white paper from &lt;BR /&gt;http://docs/hp.com for details .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 27 Oct 2003 10:46:06 GMT</pubDate>
    <dc:creator>blal</dc:creator>
    <dc:date>2003-10-27T10:46:06Z</dc:date>
    <item>
      <title>Monitor Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103090#M147261</link>
      <description>I hve a K460 with 4GB of installed memory.   My users are telling me that they have to shut down various databases to conserve memory.&lt;BR /&gt;&lt;BR /&gt;This server is at the end of it's lifetime and will be upgraded soon, however I would like to know how I can use monitoring tools, (Glance) to tell me how much memory is being used by specific processes.&lt;BR /&gt;&lt;BR /&gt;Thank you ! :)</description>
      <pubDate>Mon, 27 Oct 2003 10:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103090#M147261</guid>
      <dc:creator>Brent W. Moll</dc:creator>
      <dc:date>2003-10-27T10:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103091#M147262</link>
      <description>Start glance and type "M" which will prompt you the process id that you want to monitor.&lt;BR /&gt;&lt;BR /&gt;Start glance and type "?" to see more help about the usage of the product.&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Oct 2003 10:27:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103091#M147262</guid>
      <dc:creator>Paddy_1</dc:creator>
      <dc:date>2003-10-27T10:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103092#M147263</link>
      <description>&lt;BR /&gt;Hi&lt;BR /&gt;&lt;BR /&gt;you can use the following tools .&lt;BR /&gt; &lt;BR /&gt;top&lt;BR /&gt;glance -m&lt;BR /&gt;perfview &lt;BR /&gt;&lt;BR /&gt;see memory management white paper from &lt;BR /&gt;http://docs/hp.com for details .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Oct 2003 10:46:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103092#M147263</guid>
      <dc:creator>blal</dc:creator>
      <dc:date>2003-10-27T10:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103093#M147264</link>
      <description>You can also use ps like:&lt;BR /&gt;ps -lf -u &lt;USER_ID&gt; | awk 'BEGIN {total=0} { total+=$10 } END {printf "Total=%u\n",total}'&lt;BR /&gt;Total is in bytes.&lt;BR /&gt;&lt;BR /&gt;If you have oracle processes running under user oracle, just fill in the user oracle in the above command line.&lt;BR /&gt;&lt;BR /&gt;Also ipcs will give you an idea of the total amount of shared memory is used by u user id.&lt;BR /&gt;ipcs -am | grep &lt;USER&gt; | awk 'BEGIN {total=0} { total+=$10 } END {printf "Total=%u\n",total}'&lt;BR /&gt;&lt;/USER&gt;&lt;/USER_ID&gt;</description>
      <pubDate>Wed, 29 Oct 2003 02:12:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103093#M147264</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2003-10-29T02:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103094#M147265</link>
      <description>glance -m&lt;BR /&gt;echo "freemem/D" | adb -k /stand/vmunix&lt;BR /&gt;vmstat 5 5&lt;BR /&gt;(Look for free pages column)&lt;BR /&gt;glance -M&lt;BR /&gt;(Check process you want.)</description>
      <pubDate>Wed, 29 Oct 2003 02:15:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103094#M147265</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-10-29T02:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103095#M147266</link>
      <description>sorry ps -lf -u user will NOT give the size in byte, but the physical pages. Physical page size is defined by _SC_PAGE_SIZE in the header file &lt;UNISTD.H&gt;&lt;BR /&gt;command:&lt;BR /&gt;getconf _SC_PAGE_SIZE&lt;BR /&gt;4096&lt;BR /&gt;&lt;BR /&gt;Will return the value, default will be 4k so the the Total*4K will give the total in bytes&lt;BR /&gt;&lt;/UNISTD.H&gt;</description>
      <pubDate>Wed, 29 Oct 2003 02:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103095#M147266</guid>
      <dc:creator>Hoefnix</dc:creator>
      <dc:date>2003-10-29T02:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103096#M147267</link>
      <description>To sort the processes by amount of memory being used, just type this:&lt;BR /&gt; &lt;BR /&gt;UNIX95= ps -e -o vsz,ruser,pid,args | sort -rn | head -20&lt;BR /&gt; &lt;BR /&gt;HOWEVER, it very likely that the databases are NOT running out of local memory (because swapspace takes care of this - see the command swapinfo -tm), but are 32bit programs that are badly fragmenting the relatively small 32bit shared memory area. To see the g\fragmentation (and all the other stuff in shared memory, get a copy of shminfo from ftp://contrib:9unsupp8@hprc.external.hp.com/sysadmin/programs/  &lt;BR /&gt; &lt;BR /&gt;The solution is to use memory windows. Also look at the white papers on memory and process management found in /usr/share/doc.</description>
      <pubDate>Wed, 29 Oct 2003 09:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103096#M147267</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-10-29T09:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103097#M147268</link>
      <description>Brent&lt;BR /&gt;&lt;BR /&gt;If you ahve a C compiler you can run a small program which I have got from the firums itself , I ahve attached the same . The output would be as :&lt;BR /&gt;&lt;BR /&gt;Memory Stat total used avail %used&lt;BR /&gt;physical 4096.0 3234.0 862.0 79%&lt;BR /&gt;active virtual 1128.8 876.9 251.9 78%&lt;BR /&gt;active real 1169.8 732.3 437.5 63%&lt;BR /&gt;memory swap 3141.0 1016.0 2125.0 32%&lt;BR /&gt;device swap 8048.0 2133.9 5914.1 27%&lt;BR /&gt;&lt;BR /&gt;Please compile using cc file name and you are good to go , this will give the sanpshot at that moment.&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Wed, 29 Oct 2003 10:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103097#M147268</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2003-10-29T10:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor Memory Usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103098#M147269</link>
      <description>From a previous post it seems yhe database is oracle.&lt;BR /&gt;CHeck the memory allocation ipcs -bm | grep oracle&lt;BR /&gt;&lt;BR /&gt;Is this a test server ?&lt;BR /&gt;You could probably reduce bufferpool.&lt;BR /&gt;You can tune the sahred pool too.&lt;BR /&gt;cf attachment&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Wed, 29 Oct 2003 11:10:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitor-memory-usage/m-p/3103098#M147269</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-10-29T11:10:41Z</dc:date>
    </item>
  </channel>
</rss>

