<?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: who is the parent process of nohup started processes in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/who-is-the-parent-process-of-nohup-started-processes/m-p/3840760#M273262</link>
    <description>nohup is a process protector, to isolate the process from the Unix signal HUP or hangup. When a parent exits, all child processes still running will be sent the HUP signal. When nohup sees the parent go away, it will transfer the protected process to init. So the process will first have a parent of nohup then init when nohup's parent terminates. nohup's parent is whatever process started it, typically a shell.</description>
    <pubDate>Wed, 09 Aug 2006 20:10:12 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2006-08-09T20:10:12Z</dc:date>
    <item>
      <title>who is the parent process of nohup started processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/who-is-the-parent-process-of-nohup-started-processes/m-p/3840758#M273260</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If a process or program started by nohup command followed by &amp;amp; symbol and i come out of the terminal by exit command; then, is the process gets adopted by "init" process as the parent and would continue running ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shiv</description>
      <pubDate>Wed, 09 Aug 2006 18:53:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/who-is-the-parent-process-of-nohup-started-processes/m-p/3840758#M273260</guid>
      <dc:creator>Shivkumar</dc:creator>
      <dc:date>2006-08-09T18:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: who is the parent process of nohup started processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/who-is-the-parent-process-of-nohup-started-processes/m-p/3840759#M273261</link>
      <description>Yes, in the case where you logoff and you have a nohup'ed command running, the parent PID becomes 1 (init) and the process continues to run.&lt;BR /&gt;&lt;BR /&gt;This is really the sort of question that you should ask the box itself because some of us might lie to you but the box never does.&lt;BR /&gt;&lt;BR /&gt;Do something like this:&lt;BR /&gt;&lt;BR /&gt;nohup sleep 300 &amp;amp; # just sleep for 5 minutes&lt;BR /&gt;ps -u shiv -f &lt;BR /&gt;and note the output, paying attention to the PPID and PID columns.&lt;BR /&gt;Next,&lt;BR /&gt;exit # logout&lt;BR /&gt;and immediately log back in as user "shiv".&lt;BR /&gt;ps -u shiv -f&lt;BR /&gt;and note that the PPID is now 1 but the sleep is still running.&lt;BR /&gt;&lt;BR /&gt;You really need to learn how to ask the box directly because that is the way you learn.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Aug 2006 19:36:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/who-is-the-parent-process-of-nohup-started-processes/m-p/3840759#M273261</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-08-09T19:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: who is the parent process of nohup started processes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/who-is-the-parent-process-of-nohup-started-processes/m-p/3840760#M273262</link>
      <description>nohup is a process protector, to isolate the process from the Unix signal HUP or hangup. When a parent exits, all child processes still running will be sent the HUP signal. When nohup sees the parent go away, it will transfer the protected process to init. So the process will first have a parent of nohup then init when nohup's parent terminates. nohup's parent is whatever process started it, typically a shell.</description>
      <pubDate>Wed, 09 Aug 2006 20:10:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/who-is-the-parent-process-of-nohup-started-processes/m-p/3840760#M273262</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-08-09T20:10:12Z</dc:date>
    </item>
  </channel>
</rss>

