What are the behavioral differences between a daemon and a normal process?

后端 未结 3 1046
天涯浪人
天涯浪人 2021-02-01 06:39

I know that daemons run in the background mostly i.e. they require very less interaction from the user.

Wikipedia lists some of the types of daemons that commonly exist:

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-01 06:54

    The key difference between a Process and a Daemon is that a Daemon's parent is init - the first process started during *Nix booting. And that is why a Daemon is not connected to a terminal. So when you close your terminal it will not be killed by OS. But still you can send signals to your Daemon.

提交回复
热议问题