<?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: Parent / Child Process id. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634758#M42124</link>
    <description>You can use the -H option to ps, which requires the UNIX95 env var to be set.  The following will give you the whole process tree, then you can look for your process under that.&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -eH&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
    <pubDate>Fri, 21 Dec 2001 16:41:07 GMT</pubDate>
    <dc:creator>Steven Gillard_2</dc:creator>
    <dc:date>2001-12-21T16:41:07Z</dc:date>
    <item>
      <title>Parent / Child Process id.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634755#M42121</link>
      <description>Does any one have a handy script to know the process id of certain background tasks and all of their associated child processes in KSH.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Fri, 21 Dec 2001 16:25:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634755#M42121</guid>
      <dc:creator>Pheroz Tengra</dc:creator>
      <dc:date>2001-12-21T16:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Parent / Child Process id.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634756#M42122</link>
      <description>ps -ef | grep "name of process" | awk ' { printf "Process id = %s Parent Process id = %s\n", $2, $3 }'</description>
      <pubDate>Fri, 21 Dec 2001 16:37:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634756#M42122</guid>
      <dc:creator>Krishna Prasad</dc:creator>
      <dc:date>2001-12-21T16:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Parent / Child Process id.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634757#M42123</link>
      <description>Sam will show you this under Process Management, Process Control.&lt;BR /&gt;&lt;BR /&gt;If you want something you can call from a script, HP used to have a script called ptree. I cannot find it on my 11.0 install, but have a copy on another system, which I've attached.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;--&lt;BR /&gt;mark</description>
      <pubDate>Fri, 21 Dec 2001 16:38:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634757#M42123</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2001-12-21T16:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Parent / Child Process id.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634758#M42124</link>
      <description>You can use the -H option to ps, which requires the UNIX95 env var to be set.  The following will give you the whole process tree, then you can look for your process under that.&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -eH&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 21 Dec 2001 16:41:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634758#M42124</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2001-12-21T16:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Parent / Child Process id.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634759#M42125</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;use of Glance /gpm is  certianly help.&lt;BR /&gt;&lt;BR /&gt;-USA</description>
      <pubDate>Fri, 21 Dec 2001 16:41:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634759#M42125</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-12-21T16:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: Parent / Child Process id.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634760#M42126</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep -v grep | grep &lt;PROCESS name=""&gt; | awk '{print $2,$3}'&lt;BR /&gt;&lt;BR /&gt;From my machine:-&lt;BR /&gt;&lt;BR /&gt;root@N-0/etc&amp;gt;ps -ef | grep -v grep | grep inetd | awk '{print $2,$3}' &lt;BR /&gt;17315 1                                                               &lt;BR /&gt;the 17315 is child and 1 is parent&lt;BR /&gt;&lt;BR /&gt;Paula&lt;BR /&gt;&lt;BR /&gt;&lt;/PROCESS&gt;</description>
      <pubDate>Fri, 21 Dec 2001 16:41:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634760#M42126</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2001-12-21T16:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Parent / Child Process id.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634761#M42127</link>
      <description>Thanks for everyone's response.  The awk/grep method is not adaquete, as that is already part of the ps header. However Mark Green's ptree script was what I was looking for. &lt;BR /&gt;&lt;BR /&gt;Thanks Mark.</description>
      <pubDate>Sat, 22 Dec 2001 20:03:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634761#M42127</guid>
      <dc:creator>Pheroz Tengra</dc:creator>
      <dc:date>2001-12-22T20:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Parent / Child Process id.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634762#M42128</link>
      <description>HI Uday Ankolekar,&lt;BR /&gt;&lt;BR /&gt;Aaapla email id kaay aahe?&lt;BR /&gt;Otherwise please mail me on "sspatkar@hotmail.com". &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ever Friendly,&lt;BR /&gt;Shripad</description>
      <pubDate>Mon, 24 Dec 2001 06:18:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/parent-child-process-id/m-p/2634762#M42128</guid>
      <dc:creator>SSP_1</dc:creator>
      <dc:date>2001-12-24T06:18:49Z</dc:date>
    </item>
  </channel>
</rss>

