<?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 size in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603869#M679840</link>
    <description>&amp;gt;look into the below example I am not getting result as expected&lt;BR /&gt;&lt;BR /&gt;You need to use:&lt;BR /&gt;UNIX95=EXTENDED_PS ps -p 4910 -opid,vsz&lt;BR /&gt;&lt;BR /&gt;(-p is for PID, -C is for executable name)</description>
    <pubDate>Mon, 22 Mar 2010 05:32:06 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2010-03-22T05:32:06Z</dc:date>
    <item>
      <title>Process Memory size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603863#M679834</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;I want to know a memory size of a process in hp ux&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sathish</description>
      <pubDate>Fri, 19 Mar 2010 10:58:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603863#M679834</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-03-19T10:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Process Memory size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603864#M679835</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;In a shell, use 'ps'.  If you are writing in C, you have the underlying 'pstat()' interface.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 19 Mar 2010 11:09:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603864#M679835</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-03-19T11:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Process Memory size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603865#M679836</link>
      <description>In shell i can see only by ps&lt;BR /&gt;&lt;BR /&gt; UID   PID  PPID  C    STIME TTY       TIME COMMAND&lt;BR /&gt;&lt;BR /&gt;not the memory size</description>
      <pubDate>Fri, 19 Mar 2010 11:12:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603865#M679836</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-03-19T11:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Process Memory size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603866#M679837</link>
      <description>James,,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please let me know how to verify memory occupied by a particluar process</description>
      <pubDate>Fri, 19 Mar 2010 11:29:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603866#M679837</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-03-19T11:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Process Memory size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603867#M679838</link>
      <description>Hi (again) Sathish:&lt;BR /&gt;&lt;BR /&gt;In the shell, you can do:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -C myprocess -opid,vsz&lt;BR /&gt;&lt;BR /&gt;This leverages the UNIX95 (XPG) behavior of 'ps' and allows you to create a custom list of the fields that 'ps' can report.  In this case, we look for a process named "myprocess" and report its pid and virtual segment size.&lt;BR /&gt;&lt;BR /&gt;Note the whitespace following the "=".  There is no semicolon before the 'ps' and this keeps the UNIX95 behavior only for the duration of the command line.  Setting UNIX95 in your environment may have effects on other commands that you will not necessarily be aware of.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Mar 2010 11:38:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603867#M679838</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-03-19T11:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Process Memory size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603868#M679839</link>
      <description>JRF&lt;BR /&gt;&lt;BR /&gt;Please look into the below example i am not getting result as expected&lt;BR /&gt;&lt;BR /&gt;cbh10702 $ ps&lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt;  4843 pts/tF    0:00 nameserv&lt;BR /&gt;  4910 pts/tF    0:29 cor&lt;BR /&gt;  4343 pts/tF    0:00 telnetd&lt;BR /&gt;  9481 pts/tF    0:00 ps&lt;BR /&gt;  4855 pts/tF    0:23 java&lt;BR /&gt;  4344 pts/tF    0:00 ksh&lt;BR /&gt;cbh10702 $ UNIX95= ps -C 4910 -opid,vsz&lt;BR /&gt;  PID     VSZ&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please let me know how to do it&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Mar 2010 05:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603868#M679839</guid>
      <dc:creator>Satish Kumar Malisetti</dc:creator>
      <dc:date>2010-03-22T05:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Process Memory size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603869#M679840</link>
      <description>&amp;gt;look into the below example I am not getting result as expected&lt;BR /&gt;&lt;BR /&gt;You need to use:&lt;BR /&gt;UNIX95=EXTENDED_PS ps -p 4910 -opid,vsz&lt;BR /&gt;&lt;BR /&gt;(-p is for PID, -C is for executable name)</description>
      <pubDate>Mon, 22 Mar 2010 05:32:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603869#M679840</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-03-22T05:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Process Memory size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603870#M679841</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;As you now know, you must do:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -p 4910 -opid,vsz&lt;BR /&gt;&lt;BR /&gt;...if you want to specify the *pid* of the process and substitute '-C &lt;NAME&gt; for '-p &lt;PID&gt;' to search by the a command's basename.&lt;BR /&gt;&lt;BR /&gt;Dennis prefers to use:&lt;BR /&gt;&lt;BR /&gt;# UNIX95=EXTENDED_PS&lt;BR /&gt;&lt;BR /&gt;...to signify the we want the enhanced UNIX95 (XPG4) behavior.  I prefer the shorter form:&lt;BR /&gt;&lt;BR /&gt;# UNIX95=&lt;BR /&gt;&lt;BR /&gt;Both are equavalent to:&lt;BR /&gt;&lt;BR /&gt;# UNIX95=1&lt;BR /&gt;# UNIX95=0&lt;BR /&gt;&lt;BR /&gt;Take note that the declaration and assignment of UNIX95 is sufficient to enable the behavior.  You could just as easily set the variable to zero as you could to one.&lt;BR /&gt;&lt;BR /&gt;This is why I prefer the short form:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps ...&lt;BR /&gt;&lt;BR /&gt;To me, the short form is a reminder that that you can't reset the behavior by assigning zero (or anything). &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;/PID&gt;&lt;/NAME&gt;</description>
      <pubDate>Mon, 22 Mar 2010 10:59:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603870#M679841</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-03-22T10:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Process Memory size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603871#M679842</link>
      <description>&amp;gt;JRF: Dennis prefers to use: UNIX95=EXTENDED_PS&lt;BR /&gt;&lt;BR /&gt;(Actually I show it that way so I don't have provide a thesis to explain it.  And can search for those solutions.  :-)</description>
      <pubDate>Mon, 22 Mar 2010 11:06:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-memory-size/m-p/4603871#M679842</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-03-22T11:06:04Z</dc:date>
    </item>
  </channel>
</rss>

