<?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: TOP Memory Sorting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/top-memory-sorting/m-p/3908757#M284196</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You can use 'ps' under the XPG4 (UNIX95) option and sort processes by descending process size:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -e -o "user,vsz,pid,ppid,args" | awk 'NR&amp;gt;1' | sort -rnk2 &lt;BR /&gt;&lt;BR /&gt;Note the blank (space) character after the equal sign and before the 'ps' command.  This sets the UNIX95 option for the command line only. &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 06 Dec 2006 11:50:41 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2006-12-06T11:50:41Z</dc:date>
    <item>
      <title>TOP Memory Sorting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/top-memory-sorting/m-p/3908756#M284195</link>
      <description>Hello...I'm at a company where due to cost and licensing they have chosen not to install Glance/GlancePlus(even the trial version).&lt;BR /&gt;&lt;BR /&gt;So...is there a way to sort by the RES column in TOP?  I've read threads where supposedly the 'M' command while in TOP will sort that column...but no dice.  This is on HP-UX B.11.23.  &lt;BR /&gt;&lt;BR /&gt;Any comments appreciated, thanks in advance.</description>
      <pubDate>Wed, 06 Dec 2006 11:36:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/top-memory-sorting/m-p/3908756#M284195</guid>
      <dc:creator>Hank Phan</dc:creator>
      <dc:date>2006-12-06T11:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: TOP Memory Sorting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/top-memory-sorting/m-p/3908757#M284196</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You can use 'ps' under the XPG4 (UNIX95) option and sort processes by descending process size:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -e -o "user,vsz,pid,ppid,args" | awk 'NR&amp;gt;1' | sort -rnk2 &lt;BR /&gt;&lt;BR /&gt;Note the blank (space) character after the equal sign and before the 'ps' command.  This sets the UNIX95 option for the command line only. &lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 06 Dec 2006 11:50:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/top-memory-sorting/m-p/3908757#M284196</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-12-06T11:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: TOP Memory Sorting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/top-memory-sorting/m-p/3908758#M284197</link>
      <description>Thanks James...but there's no way to sort the RES column in TOP?</description>
      <pubDate>Wed, 06 Dec 2006 12:27:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/top-memory-sorting/m-p/3908758#M284197</guid>
      <dc:creator>Hank Phan</dc:creator>
      <dc:date>2006-12-06T12:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: TOP Memory Sorting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/top-memory-sorting/m-p/3908759#M284198</link>
      <description>I think the version of top that HP ships can not do this. It doesn't support a lot of things that newer versions of top do. You could try to install a recent version from the Porting and Archive Centre or compile it yourself.</description>
      <pubDate>Wed, 06 Dec 2006 12:59:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/top-memory-sorting/m-p/3908759#M284198</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2006-12-06T12:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: TOP Memory Sorting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/top-memory-sorting/m-p/3908760#M284199</link>
      <description>&lt;!--!*#--&gt;Hi Hank,&lt;BR /&gt;&lt;BR /&gt;William LeFebvre's version of top, available at the Porting and Archiving Center, does support sorting top output by a number of fields, including res.&lt;BR /&gt;&lt;BR /&gt;According to top(1):&lt;BR /&gt;      -ofield&lt;BR /&gt;           Sort the process display area on the specified field.  The field&lt;BR /&gt;           name is the name of the column as seen in the output, but in&lt;BR /&gt;           lower case.  Likely values are "cpu", "size", "res", and "time",&lt;BR /&gt;           but may vary on different operating systems.  Note that not all&lt;BR /&gt;           operating systems support this option.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/top-3.6alpha9/man.html" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/top-3.6alpha9/man.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PCS&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Dec 2006 13:35:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/top-memory-sorting/m-p/3908760#M284199</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-12-06T13:35:35Z</dc:date>
    </item>
  </channel>
</rss>

