Difference between process in background and daemon
5,756
You can take a look at the definition of a Daemon, which tells you what the properties of a daemon are, so biggest ones are:
- No Controlling Terminal - STDIN, STDOUT, STDERR associated with starting terminal are redirected.
- Parent Process is set to
init
- Daemon is a Process Group Leader.
Related videos on Youtube
Author by
user857990
Updated on September 18, 2022Comments
-
user857990 almost 2 years
What is technically the difference of a process that started in foreground and was manually put into background and a daemon? Do they have different properties?
-
Admin over 10 yearsRelated Question: unix.stackexchange.com/questions/56495/…
-
-
jiggunjer almost 8 yearsSo daemons need not have their own sessions, per se?
-
Karlson almost 8 years@jiggunjer You mean a user interactive session?
-
jiggunjer almost 8 yearsI thought every process had a SID, a session ID,
ps
displays it. -
Karlson almost 8 years@jiggunjer What are you talking about?
-
jiggunjer almost 8 yearsA process is part of a session, yes?
-
Karlson almost 8 years@jiggunjer Can you defined what you mean by session?