<?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: command in XPG4 enviroment in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/command-in-xpg4-enviroment/m-p/3635055#M238310</link>
    <description>Hi Jorge&lt;BR /&gt;&lt;BR /&gt;You need to set the UNIX95 environmental variable, but do this only for the duration of your command line to avoid (later) tools changing their behavior because use set and exported it to your shell.  Thus, by example:&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 space following the equal (=) sign and then the beginning of the command.  There is *no* semicolon.&lt;BR /&gt;&lt;BR /&gt;This lists the user, virtual size, pid, parental pid and commandline arguements for all processes.  The first (header) is snipped off and the process list sorted in descending order of process virtual size.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Mon, 26 Sep 2005 16:14:12 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2005-09-26T16:14:12Z</dc:date>
    <item>
      <title>command in XPG4 enviroment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-in-xpg4-enviroment/m-p/3635053#M238308</link>
      <description>Hi,&lt;BR /&gt;As I execute the commando ps in XPG4 environment?&lt;BR /&gt;( -o " format" options)&lt;BR /&gt;&lt;BR /&gt;S.O. HP-UX 11i.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Jorge Prado T.</description>
      <pubDate>Mon, 26 Sep 2005 16:07:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-in-xpg4-enviroment/m-p/3635053#M238308</guid>
      <dc:creator>Jorge Prado T</dc:creator>
      <dc:date>2005-09-26T16:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: command in XPG4 enviroment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-in-xpg4-enviroment/m-p/3635054#M238309</link>
      <description>Command works like this for XPG4&lt;BR /&gt;#UNIX95= ps -o pid,ppid,flags,state,args&lt;BR /&gt;&lt;BR /&gt;Note there is a space between UNIX95= and ps &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Sep 2005 16:12:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-in-xpg4-enviroment/m-p/3635054#M238309</guid>
      <dc:creator>Sameer_Nirmal</dc:creator>
      <dc:date>2005-09-26T16:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: command in XPG4 enviroment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-in-xpg4-enviroment/m-p/3635055#M238310</link>
      <description>Hi Jorge&lt;BR /&gt;&lt;BR /&gt;You need to set the UNIX95 environmental variable, but do this only for the duration of your command line to avoid (later) tools changing their behavior because use set and exported it to your shell.  Thus, by example:&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 space following the equal (=) sign and then the beginning of the command.  There is *no* semicolon.&lt;BR /&gt;&lt;BR /&gt;This lists the user, virtual size, pid, parental pid and commandline arguements for all processes.  The first (header) is snipped off and the process list sorted in descending order of process virtual size.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 26 Sep 2005 16:14:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-in-xpg4-enviroment/m-p/3635055#M238310</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-09-26T16:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: command in XPG4 enviroment</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/command-in-xpg4-enviroment/m-p/3635056#M238311</link>
      <description>OOPS!!!! Sorry&lt;BR /&gt;Missed the -e attribute in the command for all system running processes.&lt;BR /&gt;&lt;BR /&gt;read as&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -e -o pid,ppid,flags,state,etime,args</description>
      <pubDate>Mon, 26 Sep 2005 16:22:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/command-in-xpg4-enviroment/m-p/3635056#M238311</guid>
      <dc:creator>Sameer_Nirmal</dc:creator>
      <dc:date>2005-09-26T16:22:51Z</dc:date>
    </item>
  </channel>
</rss>

