<?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: Script to view a process tree in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731161#M254489</link>
    <description>Shalom Craig,&lt;BR /&gt;&lt;BR /&gt;Just don't leave UNIX95 set all the time. It interferes with SD/UX software installation.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 14 Feb 2006 10:51:10 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2006-02-14T10:51:10Z</dc:date>
    <item>
      <title>Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731159#M254487</link>
      <description>I need a script that will show child processes similar to Solaris ptree.  I need to see the child processes for each parent.</description>
      <pubDate>Tue, 14 Feb 2006 10:43:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731159#M254487</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-02-14T10:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731160#M254488</link>
      <description>Try&lt;BR /&gt;&lt;BR /&gt;UNIX95=1 ps -Hef&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer</description>
      <pubDate>Tue, 14 Feb 2006 10:47:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731160#M254488</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2006-02-14T10:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731161#M254489</link>
      <description>Shalom Craig,&lt;BR /&gt;&lt;BR /&gt;Just don't leave UNIX95 set all the time. It interferes with SD/UX software installation.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 14 Feb 2006 10:51:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731161#M254489</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-14T10:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731162#M254490</link>
      <description>Hi Craig:&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -ef -H&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 14 Feb 2006 10:51:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731162#M254490</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-02-14T10:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731163#M254491</link>
      <description>Hi Craig&lt;BR /&gt;Perhaps a script from HP...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Tue, 14 Feb 2006 10:53:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731163#M254491</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2006-02-14T10:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731164#M254492</link>
      <description>What is the default for UNIX95 and how to unset?</description>
      <pubDate>Tue, 14 Feb 2006 11:05:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731164#M254492</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-02-14T11:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731165#M254493</link>
      <description>When I run the UNIX95=1 ps -Hef | grep user from the command line and then echo $UNIX95. I get ksh: UNIX95: parameter not set.  So I would assume that the variable is not static.</description>
      <pubDate>Tue, 14 Feb 2006 11:11:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731165#M254493</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-02-14T11:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731166#M254494</link>
      <description>Craig&lt;BR /&gt;&lt;BR /&gt;UNIX95=1 ps -Hef&lt;BR /&gt;&lt;BR /&gt;sets the environement UNIX95 only for the ps command.&lt;BR /&gt;&lt;BR /&gt;You should NOT export UNIX95=1 , as this may conflict with certain commands&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;rainer&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Feb 2006 11:14:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731166#M254494</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2006-02-14T11:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731167#M254495</link>
      <description>Ok, I will give it a try.</description>
      <pubDate>Tue, 14 Feb 2006 11:18:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731167#M254495</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-02-14T11:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731168#M254496</link>
      <description>That works great but the user has now requested something akin to an ncurses display that is interactive.&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Tue, 14 Feb 2006 11:45:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731168#M254496</guid>
      <dc:creator>Craig A. Sharp</dc:creator>
      <dc:date>2006-02-14T11:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731169#M254497</link>
      <description>Hi Craig:&lt;BR /&gt;&lt;BR /&gt;Note how I wrote the command on one line.&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -ef -H&lt;BR /&gt;&lt;BR /&gt;There is a space after the equal sign and then the 'ps' command.&lt;BR /&gt;&lt;BR /&gt;This arms the XPG4 (UNIX95) behavior) *only* for the duration of the command line.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 14 Feb 2006 12:08:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731169#M254497</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-02-14T12:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731170#M254498</link>
      <description>UNIX95 is an ultra-simple flag to enable XPG4 behavior in processes and libraries. It only has to be set, so value is unimportant. UNIX95= is the least number of characters needed to defined the variable. Because the shell allows you to define a variable and run a program on the same line, the subshell gets the definition, runs the process and then disappears leaving UNIX95 undefined (as it should be for normal operation).&lt;BR /&gt; &lt;BR /&gt;The ps command has an enormous number of options that most admins overlook and use grep instead. UNIX95 turns on 3 very use options: -H -C and -o. Checkout the details in the man page.</description>
      <pubDate>Tue, 14 Feb 2006 18:07:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731170#M254498</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-02-14T18:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731171#M254499</link>
      <description>compile the program attached program&lt;BR /&gt;&lt;BR /&gt;cc pswalk.c -o pswalk.&lt;BR /&gt;&lt;BR /&gt;#define CMD "ps -fe|grep -v STIME"    /* command to get info                 */&lt;BR /&gt;&lt;BR /&gt;I suggest you put the full path name for ps and grep in the define statement.&lt;BR /&gt;&lt;BR /&gt;I have used this for many years.&lt;BR /&gt;&lt;BR /&gt;Rory</description>
      <pubDate>Wed, 15 Feb 2006 00:13:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731171#M254499</guid>
      <dc:creator>Rory R Hammond</dc:creator>
      <dc:date>2006-02-15T00:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731172#M254500</link>
      <description>Hi,&lt;BR /&gt;I use the pidtree script (ksh) attached.&lt;BR /&gt;To see the usage type pidtree ?.&lt;BR /&gt;It allow me to see the process family (parents and son) starting for a given pid.&lt;BR /&gt;I use this to be able to kill all the process tree in one shot.&lt;BR /&gt;Let me know if you want the killkids script as well.&lt;BR /&gt;HTH,&lt;BR /&gt;Art&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Feb 2006 03:59:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731172#M254500</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2006-02-15T03:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script to view a process tree</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731173#M254501</link>
      <description>Thanks Aryuro for Yor Script. It Is GREAT.&lt;BR /&gt;&lt;BR /&gt;If I could, I would give you and the others points for the great service you have provided to me and others. &lt;BR /&gt;&lt;BR /&gt;It is a shame that Craig has not taken the time to thank you all, by assigning points. It is free!!&lt;BR /&gt;&lt;BR /&gt;Isaac&lt;BR /&gt;Senior Unix Admin. Amdocs</description>
      <pubDate>Tue, 26 Sep 2006 21:09:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-view-a-process-tree/m-p/3731173#M254501</guid>
      <dc:creator>isaac_loven</dc:creator>
      <dc:date>2006-09-26T21:09:46Z</dc:date>
    </item>
  </channel>
</rss>

