Solved

What is scope of NOHUP?

Posted on 1997-10-14
1
220 Views
Last Modified: 2012-05-04
When you nohup a program, are all other processes that generated by that program also "nohup'd"?

(as in a perl program with fork/exec?)
0
Comment
Question by:keithedward
1 Comment
 
LVL 4

Accepted Solution

by:
jos010697 earned 0 total points
ID: 2007458
Yes; after a fork, the new process inherits the same
signal handling masks as its parent. And luckily so,
because imagine what would happen if the following
shell script were issued:

   nohup sh foo

where foo contains a long pipeline of processes like:

   bar | baz | fred

kind regards,

Jos aka jos@and.nl
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question