Daemons typically do not have any existing parent process, but reside directly under init in the process hierarchy. Daemons usually become daemons by forking a child process and then making the parent process kill itself, thus making init adopt the child. This practice is commonly known as "fork off and die."
Systems often start (or "launch") daemons at boot time: they often serve the function of responding to network requests, hardware activity, or other programs by performing some task. Daemons can also configure hardware (like devfsd on some Linux systems), run scheduled tasks (like cron), and perform a variety of other tasks.
In common Unix usage a daemon may be any background process, whether a child of init or not. UNIX users sometimes spell daemon as demon, and most usually pronounce the word that way.
In the DOS environment, such programs were written as Terminate and Stay Resident (TSR) software. On Microsoft Windows systems, programs called "services" perform the functions of daemons, though the term "daemon" has started to creep into common usage on that platform as well. On the original Mac OS similar systems were known as extensions. Mac OS X, being a unix-like system, has daemons. There are "services" as well, but these are completely different in concept.
Daemon | Démon (software) | Daemon | Demonio (informática) | Disk and execution monitor | Daemon | Demone (informatica) | Demonas (programa) | Daemon | Daemon | Daemon (aplicativo para computadores) | Демон (программа) | Daemon
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Daemon (computer software)".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world