View Feed
group-icon
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12921 Members
Join this group to post and comment.
durga ch
durga ch • Jan 29, 2009

What are daemon processes

i know what are foreground processes and back ground processes and daemons specifically being back ground processes.

So what distinguishes a normal back ground process to a daemon process?
babloo0311
babloo0311 • Jan 29, 2009
hello durga,

Usually a background process refers to a process put in the background
by a shell but which it can still reach and e.g. bring to
the foreground again. A deamon usually runs with no association
to a user/interactive shell or in relation to other non-background
processes..

a daemon has no associated tty and no parent
A daemon is a kind of persistant background process
durga ch
durga ch • Jan 30, 2009
hmm

so I can put it this way?
a user started shell script in abck ground as nohup... is a back ground process but the back ground process satrted up by root can be called and daemons which have no particular access and they run until the terminal is closed ?
babloo0311
babloo0311 • Jan 30, 2009
A daemon necessarily is no longer associated with the terminal, and for example will not die if the login process it traced back to no longer exists. It most likely also does a chdir(2), and might even do chroot(2). It should also do things like put an
appropriate file into /var/run, and perhaps write to syslog too.
babloo0311
babloo0311 • Jan 30, 2009
deamon process is a system process which u have almost no control over it is created by init while system boots of by orphanning a foreground process background process is any process which doesnt have active terminal acccess
durga ch
durga ch • Jan 30, 2009
hmm

that explains!! 😀
thanks.. will get back inc ase of any more issues 😁
babloo0311
babloo0311 • Jan 30, 2009
well fine durga . i will also collect some more information about this.

Share this content on your social channels -