<?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 usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357949#M871697</link>
    <description>&lt;BR /&gt;As of Oracle 9i you can take an alternate approach. You can drop explicit per-process settings like sort_area in favor or 'pga_aggregate_target'. This will tell Oracle the target for the total local memory for all user processes in an instance.&lt;BR /&gt;&lt;BR /&gt;Are you just curious or trying to solve a problem? If you are trying to solve a problem, then give us at least high level break down of memory: physical, sga (for each instance), dbc, number-of-connections,...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
    <pubDate>Sun, 22 Aug 2004 10:32:53 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2004-08-22T10:32:53Z</dc:date>
    <item>
      <title>memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357943#M871691</link>
      <description>HP-UX 11.23 and Oracle 9.2.0.5&lt;BR /&gt;&lt;BR /&gt;How to know the total amount of memory used by each dedicated user session?</description>
      <pubDate>Mon, 16 Aug 2004 09:07:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357943#M871691</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2004-08-16T09:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357944#M871692</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;ps -flu oracle&lt;BR /&gt;top&lt;BR /&gt;&lt;BR /&gt;if you have Enterprise OE -&amp;gt; glance</description>
      <pubDate>Mon, 16 Aug 2004 09:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357944#M871692</guid>
      <dc:creator>Slawomir Gora</dc:creator>
      <dc:date>2004-08-16T09:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357945#M871693</link>
      <description>Assuming you don't have Glance et al, you can use the following PS construct to view the size of each process on the system: -&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | grep -v Kbytes&lt;BR /&gt;&lt;BR /&gt;then just process the output to add up memory for each user.&lt;BR /&gt;&lt;BR /&gt;This is now wholly accurate though, because the VSZ (virtual set size) includes any shared memory for each process listed.  It will however give an indication in the abscence of Glance.</description>
      <pubDate>Mon, 16 Aug 2004 09:51:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357945#M871693</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2004-08-16T09:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357946#M871694</link>
      <description>Not a simple question !&lt;BR /&gt;&lt;BR /&gt;Memory allocation can change during the life of a process depending on dynamic requests,...&lt;BR /&gt;&lt;BR /&gt;One way of measuring the memory and reserved (that is important too) is to check memory usage and reserved usage while counting users on the server.&lt;BR /&gt;This can be done with Glance. &lt;BR /&gt;Of course, this will not take account of other user / group application on same server if any and this method is just a rough guide.&lt;BR /&gt;&lt;BR /&gt;You can use Glance to check individual Memory requirement (application/oracle process ,dedicated server)&lt;BR /&gt;&lt;BR /&gt;Also, check Metalink note id 148466.1 &amp;amp; 166490.1&lt;BR /&gt;&lt;BR /&gt;If you don't have Glance you can download a tril version for limited period of time.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Mon, 16 Aug 2004 10:16:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357946#M871694</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-08-16T10:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357947#M871695</link>
      <description>Try this script:&lt;BR /&gt;&lt;BR /&gt;# cat /usr/local/bin/processmem&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;# processmem - display memory claimed by a process&lt;BR /&gt;#&lt;BR /&gt;if [ $# -lt 1 -o \( $# -gt 1 -a $# -lt 4 \) ]&lt;BR /&gt;then&lt;BR /&gt;  echo "Usage:"&lt;BR /&gt;  echo "processmem \"process\""&lt;BR /&gt;  echo "Example:"&lt;BR /&gt;  echo "processmem rpc"&lt;BR /&gt;  exit 1&lt;BR /&gt;fi&lt;BR /&gt;echo " "&lt;BR /&gt;&lt;BR /&gt;PROCESS=$1&lt;BR /&gt;&lt;BR /&gt;mps=0&lt;BR /&gt;#for sz in `ps -elf | grep $PROCESS | grep -v grep | awk '{print $10}'`&lt;BR /&gt;for sz in `UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | grep -v Kbytes | grep $PROCESS | awk '{print $1}'`&lt;BR /&gt;do&lt;BR /&gt;mps=`expr $mps + $sz`&lt;BR /&gt;done&lt;BR /&gt;#echo `expr $mps \* 4096`&lt;BR /&gt;echo "\nMemory claimed by $PROCESS: $mps Kbytes.\n"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Or for user:&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;# usermem - display memory claimed by a user&lt;BR /&gt;#&lt;BR /&gt;if [ $# -lt 1 -o \( $# -gt 1 -a $# -lt 4 \) ]&lt;BR /&gt;then&lt;BR /&gt;  echo "Usage:"&lt;BR /&gt;  echo "usermem \"userid\""&lt;BR /&gt;  echo "Example:"&lt;BR /&gt;  echo "usermem gwild"&lt;BR /&gt;  exit 1&lt;BR /&gt;fi&lt;BR /&gt;echo " "&lt;BR /&gt;&lt;BR /&gt;USER=$1&lt;BR /&gt;t=0&lt;BR /&gt;for j in `UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | grep -v Kbytes | grep $USER | awk '{print $1}'`&lt;BR /&gt;do&lt;BR /&gt;t=`expr $t + $j`&lt;BR /&gt;done&lt;BR /&gt;echo "\nMemory claimed by $USER: $t Kbytes.\n"&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 16 Aug 2004 12:37:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357947#M871695</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-08-16T12:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357948#M871696</link>
      <description>The fact that you are asking the question seems to indicate that you are concerned about memory pressure.  First, I would suggest making sure that the maximum dynamic buffer cache percentage of memory isn't set too high.  You don't need more than 1 GB for buffer cache and most likely not more that .5GB.  Second, OnlineJFS is useful so that you can avoid Oracle using the HP-UX buffers and essentially buffering the data twice, which is a total waste of time and memory.  See the attached "Cookbook" for details.  Third, check for page outs, which would clearly indicate a need for more RAM if everything else has been done.</description>
      <pubDate>Sat, 21 Aug 2004 13:49:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357948#M871696</guid>
      <dc:creator>Ted Buis</dc:creator>
      <dc:date>2004-08-21T13:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: memory usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357949#M871697</link>
      <description>&lt;BR /&gt;As of Oracle 9i you can take an alternate approach. You can drop explicit per-process settings like sort_area in favor or 'pga_aggregate_target'. This will tell Oracle the target for the total local memory for all user processes in an instance.&lt;BR /&gt;&lt;BR /&gt;Are you just curious or trying to solve a problem? If you are trying to solve a problem, then give us at least high level break down of memory: physical, sga (for each instance), dbc, number-of-connections,...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Sun, 22 Aug 2004 10:32:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-usage/m-p/3357949#M871697</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-08-22T10:32:53Z</dc:date>
    </item>
  </channel>
</rss>

