<?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: HP-UX and ps command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-and-ps-command/m-p/2741681#M67802</link>
    <description>Hi,&lt;BR /&gt;Are these the commands you are looking for ? &lt;BR /&gt;UNIX95= ps -e -o vsz,ruser,args&lt;BR /&gt;UNIX95= ps -e -o sz,ruser,args&lt;BR /&gt;&lt;BR /&gt;Execute them exactly as I put them in here.&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
    <pubDate>Tue, 11 Jun 2002 05:15:07 GMT</pubDate>
    <dc:creator>Tom Geudens</dc:creator>
    <dc:date>2002-06-11T05:15:07Z</dc:date>
    <item>
      <title>HP-UX and ps command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-and-ps-command/m-p/2741680#M67801</link>
      <description>HP Gurus,&lt;BR /&gt;&lt;BR /&gt;For any process using/attaching to shared libraries the ps -elf wil report the process memory inlcuding the actual process memory and the memory used by the shared libraries. Is there any way or any option of ps which will report only the actual process memory.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Savio</description>
      <pubDate>Tue, 11 Jun 2002 04:42:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-and-ps-command/m-p/2741680#M67801</guid>
      <dc:creator>Savio Pereira</dc:creator>
      <dc:date>2002-06-11T04:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX and ps command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-and-ps-command/m-p/2741681#M67802</link>
      <description>Hi,&lt;BR /&gt;Are these the commands you are looking for ? &lt;BR /&gt;UNIX95= ps -e -o vsz,ruser,args&lt;BR /&gt;UNIX95= ps -e -o sz,ruser,args&lt;BR /&gt;&lt;BR /&gt;Execute them exactly as I put them in here.&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jun 2002 05:15:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-and-ps-command/m-p/2741681#M67802</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-06-11T05:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX and ps command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-and-ps-command/m-p/2741682#M67803</link>
      <description>#UNIX95 =ps -e -o ruser,pid,vsz=Kbytes|more&lt;BR /&gt;&lt;BR /&gt;should give you that &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;G Manikandan</description>
      <pubDate>Tue, 11 Jun 2002 05:18:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-and-ps-command/m-p/2741682#M67803</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-06-11T05:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX and ps command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-and-ps-command/m-p/2741683#M67804</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Save and sort it as well.&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -e -o "ruser,vsz,args" | sort -rnk2 &amp;gt;/tmp/wrk&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;~Michael~</description>
      <pubDate>Tue, 11 Jun 2002 05:38:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-and-ps-command/m-p/2741683#M67804</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-06-11T05:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: HP-UX and ps command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-and-ps-command/m-p/2741684#M67805</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Again&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;#&lt;BR /&gt;# Show processes sorted by size of core image&lt;BR /&gt;#&lt;BR /&gt;# Usage:&lt;BR /&gt;#    psram [ quantity ]&lt;BR /&gt;#&lt;BR /&gt;# where quantity is the top RAM processes to show (default is 20)&lt;BR /&gt;#&lt;BR /&gt;set -u&lt;BR /&gt;if [ $# -gt 0 ]&lt;BR /&gt;then&lt;BR /&gt;   TOPPROCS=$1&lt;BR /&gt;else&lt;BR /&gt;   TOPPROCS=20&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;MYNAME=$(basename $0)&lt;BR /&gt;TEMPFILE=/var/tmp/$MYNAME.$$&lt;BR /&gt;trap `rm -f $TEMPFILE &amp;gt; /dev/null 2&amp;gt;&amp;amp;1` 0 1 2 3 15&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o ruser,vsz,pid,args &amp;gt; $TEMPFILE&lt;BR /&gt;head -1 $TEMPFILE&lt;BR /&gt;DASH5="-----"&lt;BR /&gt;DASH25="$DASH5$DASH5$DASH5$DASH5$DASH5"&lt;BR /&gt;echo "$DASH5---- $DASH5- $DASH5 $DASH25$DASH25"&lt;BR /&gt;grep -v "VSZ COMMAND" $TEMPFILE      | cut -c -78      | sort -rn -k2      | head -${TOPPROCS}&lt;BR /&gt;rm $TEMPFILE &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;CPU&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -e -o pcpu -o ruser -o vsz -opid -o args|head -n1&lt;BR /&gt;UNIX95= ps -e -o pcpu -o ruser -o vsz -opid -o args|grep -v %CPU| sort -nr|tail -n +2|head -n 20&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                 Steve Steel</description>
      <pubDate>Tue, 11 Jun 2002 08:11:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-ux-and-ps-command/m-p/2741684#M67805</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-06-11T08:11:08Z</dc:date>
    </item>
  </channel>
</rss>

