<?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 comsuption analisis in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300635#M183755</link>
    <description>Sanjay,&lt;BR /&gt;&lt;BR /&gt;thanks... I can not access to this document.. the page can not find the document ID.. could you attach the file ?&lt;BR /&gt;&lt;BR /&gt;Regards</description>
    <pubDate>Thu, 10 Jun 2004 12:31:48 GMT</pubDate>
    <dc:creator>Arturo_5</dc:creator>
    <dc:date>2004-06-10T12:31:48Z</dc:date>
    <item>
      <title>Memory comsuption analisis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300626#M183746</link>
      <description>Hellow folks,&lt;BR /&gt;&lt;BR /&gt;Actually we are experience high memory consumption in our enviroments, it is composes by rp74XX server (8 GB Ram + 16 swap, swapmem_on=0), oracle 9i and internal apps.&lt;BR /&gt;&lt;BR /&gt;With the out put of ps -el command i tried to analize the most memory consumption process (i attached the out put), i have assumed that the argument SZ is the total resident memory (physical memory) that is used by the process, however when add everything what the processes occupy (all SZ process) this donÂ´t match with the physical memory installed in the machine.&lt;BR /&gt;&lt;BR /&gt;How can i detect truly the physical memory that a process is using from command line ??&lt;BR /&gt;&lt;BR /&gt;Than</description>
      <pubDate>Wed, 09 Jun 2004 12:46:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300626#M183746</guid>
      <dc:creator>Arturo_5</dc:creator>
      <dc:date>2004-06-09T12:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Memory comsuption analisis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300627#M183747</link>
      <description>Here's a little script for you:&lt;BR /&gt;&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;Rgds...Geoff</description>
      <pubDate>Wed, 09 Jun 2004 13:04:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300627#M183747</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-06-09T13:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Memory comsuption analisis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300628#M183748</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You won't get the number from the ps output as buffer cache and the systems' dynamic pool is not added in there. A better command to use is&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o 'vsz pid args' |sort -n&lt;BR /&gt;&lt;BR /&gt;I suggest you use 'glance' to figure it out. In the memory windows section, it is neatly laid out on how the memory is split like System Memory, User Memory, Buffer cache, Free memory etc.,&lt;BR /&gt;&lt;BR /&gt;I would first check the buffer cache settings on your system. If you haven't changed it, then it may be set to 50% which is a overkill. Post the following.&lt;BR /&gt;&lt;BR /&gt;#kmtune -l -q dbc_max_pct&lt;BR /&gt;#kmtune -l -q dbc_min_pct&lt;BR /&gt;#kmtune -l -q nbuf&lt;BR /&gt;#kmtune -l -q bufpages&lt;BR /&gt;&lt;BR /&gt;If you find it at 50% (dbc_max_pct), then Is uggest you reduce it down to 5-8% to get around 400MB - 600 MB. &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 09 Jun 2004 13:05:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300628#M183748</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-06-09T13:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Memory comsuption analisis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300629#M183749</link>
      <description>ps gives a very simple listing of process memory. It gives you no information about shared memory (use: ipcs -bmop), no information about shared libraries, no information about the buffer cache and no information about the kernel's memory usage. If you have not changed the buffer cache limits, massive amounts of RAM can be used there. This will sort all the processes into the amount of memory used, largest first:&lt;BR /&gt; &lt;BR /&gt;UNIX95= ps -eo vsz,pid,ruser,args | sort -rn&lt;BR /&gt; &lt;BR /&gt;HP-UX uses memory (like most Unix versions) in many different ways. To get a good picture of memory usage, you'll need to purchase GlancePlus.</description>
      <pubDate>Wed, 09 Jun 2004 15:14:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300629#M183749</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-09T15:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Memory comsuption analisis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300630#M183750</link>
      <description>Thanks folks,&lt;BR /&gt;&lt;BR /&gt;I suggest the use of glance, but in this case i get other problem cause the process list only give me a short view of the all process runing on the machine.. How can i get the complet process view from glance.&lt;BR /&gt;&lt;BR /&gt;Arturo</description>
      <pubDate>Wed, 09 Jun 2004 15:43:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300630#M183750</guid>
      <dc:creator>Arturo_5</dc:creator>
      <dc:date>2004-06-09T15:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: Memory comsuption analisis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300631#M183751</link>
      <description>Hi Arturo,&lt;BR /&gt;&lt;BR /&gt;What you got is correct. The "vsz" portion of the ps output using UNIX95 gives you the core image in KB.&lt;BR /&gt;&lt;BR /&gt;However, you should not try to add up these numbers to get the total memory used as this number doesn't include shared memory and memory mapped areas. And there is buffer cache. &lt;BR /&gt;&lt;BR /&gt;If you are really interested to know how the memory regions are mapped for a particular process, find out the 'pid' of the process (you can use UNIX95= command), open up glance and press "M". Enter the pid of the process and it will show the Memory regions for that process.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 09 Jun 2004 16:13:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300631#M183751</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-06-09T16:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Memory comsuption analisis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300632#M183752</link>
      <description>Ok,&lt;BR /&gt;&lt;BR /&gt;Do you have any recomendations in order to obtain a memory mapped of my systems at just time. this will help us to determine wich are the process that are consumming the memory.&lt;BR /&gt;&lt;BR /&gt;If you have any ideas over it, let me know.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 10 Jun 2004 12:00:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300632#M183752</guid>
      <dc:creator>Arturo_5</dc:creator>
      <dc:date>2004-06-10T12:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Memory comsuption analisis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300633#M183753</link>
      <description>Could you please re-phrase your question again? I am not sure I understand what you need exactly.</description>
      <pubDate>Thu, 10 Jun 2004 12:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300633#M183753</guid>
      <dc:creator>Navin Bhat_2</dc:creator>
      <dc:date>2004-06-10T12:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Memory comsuption analisis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300634#M183754</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try this doc from itrc,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=UPERFKBAN00000726&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=UPERFKBAN00000726&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The itrc doc id is UPERFKBAN00000726.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jun 2004 12:09:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300634#M183754</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-06-10T12:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Memory comsuption analisis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300635#M183755</link>
      <description>Sanjay,&lt;BR /&gt;&lt;BR /&gt;thanks... I can not access to this document.. the page can not find the document ID.. could you attach the file ?&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 10 Jun 2004 12:31:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300635#M183755</guid>
      <dc:creator>Arturo_5</dc:creator>
      <dc:date>2004-06-10T12:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Memory comsuption analisis</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300636#M183756</link>
      <description>Glance will list all the proceses in the system if you want. When you are analyzing performance in realtime, you usually don't want to look at uninteresting processes like getty and shells waiting for user input. But you can override Glance's 'interesting process' limits. Start the program, type the letter o (as in o-verride) -- no CR/Enter, just the character o. Then select the Process option by pressing Enter or the number 1 followed by Enter. Change the first 3 lines to all zeros. Then tab down to Sort key and select rss (for memory). Select Perform Task and you'll be sent to the g window. The bottom righthand edge will show something like Page 1 of 35. Then use f to go forward, b to go backward.&lt;BR /&gt; &lt;BR /&gt;Personally, anything less than 5% CPU or 5% I/O is not of any interest to me so I set the o screen options to: CPU=5, I/O=5, RSS=999999 and then sort by cpu or disk. Now I only see the interesting processes.&lt;BR /&gt; &lt;BR /&gt;To see every process in a file, use the UNIX95 constructs mentioned above.</description>
      <pubDate>Fri, 11 Jun 2004 13:21:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-comsuption-analisis/m-p/3300636#M183756</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-06-11T13:21:13Z</dc:date>
    </item>
  </channel>
</rss>

