<?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: process memory utilization??? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926027#M408993</link>
    <description>Nope, &lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -p 11274 -o sz,pid,args &lt;BR /&gt;&lt;BR /&gt;yields&lt;BR /&gt;&lt;BR /&gt;  SZ   PID COMMAND&lt;BR /&gt;6411 11274 /opt/Indicative/jre/HPUX11/jre1...&lt;BR /&gt;&lt;BR /&gt;and 6411 * 4 = 25644&lt;BR /&gt;&lt;BR /&gt;???</description>
    <pubDate>Wed, 14 Sep 2005 12:08:44 GMT</pubDate>
    <dc:creator>Alan Meyer_4</dc:creator>
    <dc:date>2005-09-14T12:08:44Z</dc:date>
    <item>
      <title>process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926017#M408983</link>
      <description>How can I find out how much memory a particular process(PID) occupies?</description>
      <pubDate>Wed, 14 Sep 2005 11:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926017#M408983</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-09-14T11:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926018#M408984</link>
      <description>Do you have glance?  In which case RSS gives a good indication I believe.&lt;BR /&gt;&lt;BR /&gt;There is alot of content on the forums about this already.</description>
      <pubDate>Wed, 14 Sep 2005 11:20:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926018#M408984</guid>
      <dc:creator>Gavin Clarke</dc:creator>
      <dc:date>2005-09-14T11:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926019#M408985</link>
      <description>... from the command line as part of a script???</description>
      <pubDate>Wed, 14 Sep 2005 11:20:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926019#M408985</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-09-14T11:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926020#M408986</link>
      <description>can You supply a PID number to Glance in adviser mode and get the util back?</description>
      <pubDate>Wed, 14 Sep 2005 11:22:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926020#M408986</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-09-14T11:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926021#M408987</link>
      <description>export UNIX95=1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then "ps -ef -o sz,vsz | grep &lt;PID&gt;".&lt;BR /&gt;&lt;BR /&gt;Read man for more options in XPG4 mode.&lt;BR /&gt;&lt;BR /&gt;Alex.&lt;/PID&gt;</description>
      <pubDate>Wed, 14 Sep 2005 11:22:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926021#M408987</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-09-14T11:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926022#M408988</link>
      <description>Try this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=830132" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=830132&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It is one of many.</description>
      <pubDate>Wed, 14 Sep 2005 11:23:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926022#M408988</guid>
      <dc:creator>Gavin Clarke</dc:creator>
      <dc:date>2005-09-14T11:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926023#M408989</link>
      <description>Funny,&lt;BR /&gt;&lt;BR /&gt;The thread I linked to was posted by Alex!&lt;BR /&gt;&lt;BR /&gt;Cheers.</description>
      <pubDate>Wed, 14 Sep 2005 11:25:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926023#M408989</guid>
      <dc:creator>Gavin Clarke</dc:creator>
      <dc:date>2005-09-14T11:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926024#M408990</link>
      <description>Hi Alan:&lt;BR /&gt;&lt;BR /&gt;Two easy ways are with 'glance' or simply with 'ps'.&lt;BR /&gt;&lt;BR /&gt;For instance, to find the virtual size ('vsz' in kilobytes), along with the user, parent pid and command line used to start the process, for pid-1593 do:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -p  1593 -o "user,vsz,pid,ppid,args"&lt;BR /&gt;&lt;BR /&gt;Note that there is NO space between 'UNIX95=' and the 'ps' command.  This syntax sets the UNIX95 variable ONLY for the duration of your commannd line.  It arms the XPG4 behavior.  You don't want it to "stay around" in your environment necessarily, so don't export it.&lt;BR /&gt;&lt;BR /&gt;See the manpages for 'ps' for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF... &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Sep 2005 11:26:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926024#M408990</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-09-14T11:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926025#M408991</link>
      <description>ok, so how does the vsz*4 value compare to the RSS value found in Glance?&lt;BR /&gt;&lt;BR /&gt;here's the results I get.&lt;BR /&gt;&lt;BR /&gt;#UNIX95= ps -p 11274 -o vsz,pid,args&lt;BR /&gt;    VSZ   PID COMMAND&lt;BR /&gt;  26684 11274 /opt/Indicative/jre/HPUX11/jre...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From Glance I get this&lt;BR /&gt;Process Name   PID   PPID Pri Name   (  200% max)    CPU   IO Rate    RSS   Cnt&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;java         11274      1 168 root      0.7/ 3.4    84.1  0.0/ 0.4  80.4mb   47&lt;BR /&gt;&lt;BR /&gt;So, 26684 * 4 = 106736kb&lt;BR /&gt;&lt;BR /&gt;and from Glance RSS = 80.4mb  Are they suppose to compare?&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Sep 2005 11:55:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926025#M408991</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-09-14T11:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926026#M408992</link>
      <description>vsz   - virtual size, also the size that swapped out or deactivated.&lt;BR /&gt;rss - resident size, the size in the memory.&lt;BR /&gt;&lt;BR /&gt;try to replace the vsz -&amp;gt; sz and I think you'll get close results.&lt;BR /&gt;&lt;BR /&gt;Alex.</description>
      <pubDate>Wed, 14 Sep 2005 12:06:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926026#M408992</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-09-14T12:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926027#M408993</link>
      <description>Nope, &lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -p 11274 -o sz,pid,args &lt;BR /&gt;&lt;BR /&gt;yields&lt;BR /&gt;&lt;BR /&gt;  SZ   PID COMMAND&lt;BR /&gt;6411 11274 /opt/Indicative/jre/HPUX11/jre1...&lt;BR /&gt;&lt;BR /&gt;and 6411 * 4 = 25644&lt;BR /&gt;&lt;BR /&gt;???</description>
      <pubDate>Wed, 14 Sep 2005 12:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926027#M408993</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-09-14T12:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926028#M408994</link>
      <description>Hi (again) Alan:&lt;BR /&gt;&lt;BR /&gt;The computations are not done exactly the same for both probes.&lt;BR /&gt;&lt;BR /&gt;'glance' includes any shared memory regions and/or shared library regions in its RSS value in addition to the stack, text and data region totals of the process.  'ps' does not.&lt;BR /&gt;&lt;BR /&gt;The units for 'vsz' are 1024 byte chunks.  If you use 'sz' then the units are PAGE_SIZE chunks (generally 4096).&lt;BR /&gt;&lt;BR /&gt;To see you PAGE_SIZE, do:&lt;BR /&gt;&lt;BR /&gt;# getconf PAGE_SIZE&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 14 Sep 2005 12:15:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926028#M408994</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-09-14T12:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926029#M408995</link>
      <description>Ok, thanks.&lt;BR /&gt;&lt;BR /&gt;And thanks to all for the assistance....</description>
      <pubDate>Wed, 14 Sep 2005 12:18:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926029#M408995</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-09-14T12:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926030#M408996</link>
      <description>glancepluss can be usefull too too :)</description>
      <pubDate>Wed, 14 Sep 2005 12:32:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926030#M408996</guid>
      <dc:creator>generic_1</dc:creator>
      <dc:date>2005-09-14T12:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926031#M408997</link>
      <description>Hmm, so the only difference between "sz" and "vsz" is the measuring units?&lt;BR /&gt;&lt;BR /&gt;Alex.&lt;BR /&gt;&lt;BR /&gt;(zero plz)</description>
      <pubDate>Wed, 14 Sep 2005 12:46:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926031#M408997</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-09-14T12:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926032#M408998</link>
      <description>&lt;A href="http://nixdoc.net/man-pages/HP-UX/man1/ps.1.html" target="_blank"&gt;http://nixdoc.net/man-pages/HP-UX/man1/ps.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Yep, looks the same. Everyday you learn something new.&lt;BR /&gt;&lt;BR /&gt;And vsz and sz are the same if you calculate ~25MB. Like it was said, without shared memory and other stuff, only core image of the proc.&lt;BR /&gt;&lt;BR /&gt;Alex.</description>
      <pubDate>Wed, 14 Sep 2005 13:00:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926032#M408998</guid>
      <dc:creator>Alex Lavrov.</dc:creator>
      <dc:date>2005-09-14T13:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: process memory utilization???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926033#M408999</link>
      <description>close thread</description>
      <pubDate>Wed, 14 Sep 2005 17:32:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-utilization/m-p/4926033#M408999</guid>
      <dc:creator>Alan Meyer_4</dc:creator>
      <dc:date>2005-09-14T17:32:50Z</dc:date>
    </item>
  </channel>
</rss>

