Replies
Welcome, guest
Join CrazyEngineers to reply, ask questions, and participate in conversations.
CrazyEngineers powered by Jatra Community Platform
-
@babloo0311-J22PBc • 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-TpX3gO • Jan 29, 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-J22PBc • Jan 29, 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-J22PBc • Jan 29, 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-TpX3gO • Jan 30, 2009
-
@babloo0311-J22PBc • Jan 30, 2009
well fine durga . i will also collect some more information about this.