Background, zombie, daemon and without ctty - are these concepts connected?
9
votes
3
answers
3190
views
How these process concepts are related together -
background
, zombie
, daemon
and without controlling terminal
?
I feel that they are somehow close, especially through the concept of controlling terminal
, but there is still not much info for me to tell a story, like if you need to explain something to a child reading an article about Linux without lying too much.
**UPDATE #1: For example (I don't know if that's true)**
* background
-- zombie
- foreground process can not become zombie
, because zombie
is a background process that was left without a parent
* daemon
-- without ctty
- all daemons
run without ctty
, but not all processes withoutctty
are daemons
* background
-- daemon
- a background process
can be retrieved to run interactively again, daemon is not
* zombie
-- without ctty
- zombie
is indifferent if there is ctty
attached to it or not
* background
-- without ctty
- processes
sent to background while they have ctty
, and become daemons or die if the ctty
is taken from them
Asked by anatoly techtonik
(2784 rep)
Mar 21, 2017, 09:09 AM
Last activity: Mar 21, 2017, 05:03 PM
Last activity: Mar 21, 2017, 05:03 PM