<?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 for a process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581696#M832732</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;Glance is a better product for this,the details are correct from the glance output.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
    <pubDate>Wed, 13 Jul 2005 08:46:22 GMT</pubDate>
    <dc:creator>HGN</dc:creator>
    <dc:date>2005-07-13T08:46:22Z</dc:date>
    <item>
      <title>memory for a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581691#M832727</link>
      <description>Does anyone know te easiest way of working out the amount of memory a particular process is using?</description>
      <pubDate>Wed, 13 Jul 2005 08:23:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581691#M832727</guid>
      <dc:creator>Chris Baugh</dc:creator>
      <dc:date>2005-07-13T08:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: memory for a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581692#M832728</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use the "top" there you have the total size, including Virtual Memory and the Resident Size, the memory currently ocupied on phisical RAM.&lt;BR /&gt;&lt;BR /&gt;Enjoy :-)&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2005 08:25:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581692#M832728</guid>
      <dc:creator>Pedro Cirne</dc:creator>
      <dc:date>2005-07-13T08:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: memory for a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581693#M832729</link>
      <description>You can use glance and process parameter it will give all the details</description>
      <pubDate>Wed, 13 Jul 2005 08:29:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581693#M832729</guid>
      <dc:creator>kam_6</dc:creator>
      <dc:date>2005-07-13T08:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: memory for a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581694#M832730</link>
      <description>Isn't the memory reported by top a summary, rather than for each individual process?</description>
      <pubDate>Wed, 13 Jul 2005 08:30:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581694#M832730</guid>
      <dc:creator>Chris Baugh</dc:creator>
      <dc:date>2005-07-13T08:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: memory for a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581695#M832731</link>
      <description>&lt;BR /&gt;you can use top command to find out the current memory usage of the process.&lt;BR /&gt;&lt;BR /&gt;you can also get these information through ps with some extra output tokens&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Wed, 13 Jul 2005 08:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581695#M832731</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-07-13T08:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: memory for a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581696#M832732</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Glance is a better product for this,the details are correct from the glance output.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;HGN</description>
      <pubDate>Wed, 13 Jul 2005 08:46:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581696#M832732</guid>
      <dc:creator>HGN</dc:creator>
      <dc:date>2005-07-13T08:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: memory for a process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581697#M832733</link>
      <description>Here's a 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;# gwild 03192004&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, 13 Jul 2005 09:20:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-for-a-process/m-p/3581697#M832733</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-07-13T09:20:54Z</dc:date>
    </item>
  </channel>
</rss>

