<?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 Memory being used in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-being-used/m-p/2612755#M36638</link>
    <description>Is there a simple script someone has that will determine the amount of memory being used by a specific application? For example, the amount of memory used by a web server, and/or the amount being used by Informix?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Tue, 13 Nov 2001 13:45:10 GMT</pubDate>
    <dc:creator>Mike_21</dc:creator>
    <dc:date>2001-11-13T13:45:10Z</dc:date>
    <item>
      <title>Memory being used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-being-used/m-p/2612755#M36638</link>
      <description>Is there a simple script someone has that will determine the amount of memory being used by a specific application? For example, the amount of memory used by a web server, and/or the amount being used by Informix?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 13 Nov 2001 13:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-being-used/m-p/2612755#M36638</guid>
      <dc:creator>Mike_21</dc:creator>
      <dc:date>2001-11-13T13:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Memory being used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-being-used/m-p/2612756#M36639</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Try this command, all on the same line&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o vsz=Kbytes -o ruser -o pid,args=Command-Line | sort -rnk1 | more</description>
      <pubDate>Tue, 13 Nov 2001 14:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-being-used/m-p/2612756#M36639</guid>
      <dc:creator>Tony Constantine_2</dc:creator>
      <dc:date>2001-11-13T14:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Memory being used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-being-used/m-p/2612757#M36640</link>
      <description>The best tool for that is glance/measureware and perfview.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 13 Nov 2001 14:18:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-being-used/m-p/2612757#M36640</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-11-13T14:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Memory being used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-being-used/m-p/2612758#M36641</link>
      <description>I wrote a script to capture memory usage for specific processes (or groups of processes) and provide trending results to a file.  You may need to modify the variables at the top of the script, but otherwise it's pretty straight forward.  You'll need to create a index file in the following format:&lt;BR /&gt;&lt;BR /&gt;#CATEGORY_NAME  Individual process....&lt;BR /&gt;NETSCAPE        netscape helper&lt;BR /&gt;DISPLAY         hide&lt;BR /&gt;FONTSERVER      /usr/openwin/bin/fs&lt;BR /&gt;CALCULATOR      calctool&lt;BR /&gt;OPENWINDOWS     olwm&lt;BR /&gt;PRINTING        /etc/lp         lpsched         /usr/spool/lp   hpnp            /var/spool/lp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;-Tim</description>
      <pubDate>Tue, 13 Nov 2001 14:28:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-being-used/m-p/2612758#M36641</guid>
      <dc:creator>Tim Ryan</dc:creator>
      <dc:date>2001-11-13T14:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Memory being used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-being-used/m-p/2612759#M36642</link>
      <description>HI&lt;BR /&gt;You may use the glance and measureware.&lt;BR /&gt;Configure the parm file for applications/processes you need to monitor.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant.</description>
      <pubDate>Tue, 13 Nov 2001 14:55:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-being-used/m-p/2612759#M36642</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-11-13T14:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: Memory being used</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-being-used/m-p/2612760#M36643</link>
      <description>I think you will need to use both ps -efl and ipcs -mb to get the total result. I don not think the ps -efl command checks for shared memory segements.&lt;BR /&gt;&lt;BR /&gt;If you know your app doesn't use any shared memory. &lt;BR /&gt;&lt;BR /&gt;Try ps -efl| grep "user id" | awk ' { sum += $10 } END { printf "Using Pysical Pages = %ld\n", sum } '&lt;BR /&gt;&lt;BR /&gt;This will give the number of physical pages of the core image of the process. The next thing you need to know is what your page size is set at. It is usally 4K you can verify this by typing get_conf PAGE_SIZE. Once you know this you can modify the script above to * 4K to sum and this will give the size in K. You then can divide by 1024 to get MB that number by 1024 to GB and so on. &lt;BR /&gt;&lt;BR /&gt;Hope this helps. but don't forget the shared memory.</description>
      <pubDate>Wed, 14 Nov 2001 16:00:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-being-used/m-p/2612760#M36643</guid>
      <dc:creator>Krishna Prasad</dc:creator>
      <dc:date>2001-11-14T16:00:41Z</dc:date>
    </item>
  </channel>
</rss>

