Daemon (computing)

daemondaemonsservicesservicedaemon processUnix daemonbackground processescomputer software daemonD'''aemondaemon (computer software)
In multitasking computer operating systems, a daemon ( or ) is a computer program that runs as a background process, rather than being under the direct control of an interactive user.wikipedia
356 Related Articles

Operating system

operating systemsOScomputer operating system
In multitasking computer operating systems, a daemon ( or ) is a computer program that runs as a background process, rather than being under the direct control of an interactive user.
An operating system (OS) is system software that manages computer hardware and software resources and provides common services for computer programs.

Init

sysvinitinit systeminit process
In a Unix environment, the parent process of a daemon is often, but not always, the init process.
Init is a daemon process that continues running until the system is shut down.

Secure Shell

SSHSSH ClientSSH logs
For example, syslogd is the daemon that implements the system logging facility, and sshd is a daemon that serves incoming SSH connections.
An SSH client program is typically used for establishing connections to an SSH daemon accepting remote connections.

Cron

crontabcrondcron job
Daemons such as cron may also perform defined tasks at scheduled times.
The crontab files are stored where the lists of jobs and other instructions to the cron daemon are kept.

BSD Daemon

Beastieaureola beastieBSD's daemon mascot
However, BSD and some of its derivatives have adopted a Christian demon as their mascot rather than a Greek daemon.
The BSD Daemon is named after software daemons, a class of long-running computer programs in Unix-like operating systems, which through a play on words takes the cartoon shape of a demon.

Windows service

serviceservicessystem service
Alternate terms for daemon are service (used in Windows, from Windows NT onwards - and later also in Linux), started task (IBM z/OS), and ghost job (XDS UTS).
It is similar in concept to a Unix daemon.

Super-server

Internet super server
If the process is started by a super-server daemon, such as inetd, launchd, or systemd, the super-server daemon will perform those functions for the process (except for old-style daemons not converted to run under systemd and specified as Type=forking and "multi-threaded" datagram servers under inetd ).
A super-server or sometimes called a service dispatcher is a type of daemon run generally on Unix-like systems.

Inetd

internet service daemon (inetd)
If the process is started by a super-server daemon, such as inetd, launchd, or systemd, the super-server daemon will perform those functions for the process (except for old-style daemons not converted to run under systemd and specified as Type=forking and "multi-threaded" datagram servers under inetd ).
inetd (internet service daemon) is a super-server daemon on many Unix systems that provides Internet services.

Launchd

If the process is started by a super-server daemon, such as inetd, launchd, or systemd, the super-server daemon will perform those functions for the process (except for old-style daemons not converted to run under systemd and specified as Type=forking and "multi-threaded" datagram servers under inetd ).
In computing, launchd, a unified service-management framework, starts, stops and manages daemons, applications, processes, and scripts in macOS.

Systemd

journaldeudevlogind
If the process is started by a super-server daemon, such as inetd, launchd, or systemd, the super-server daemon will perform those functions for the process (except for old-style daemons not converted to run under systemd and specified as Type=forking and "multi-threaded" datagram servers under inetd ).
The name systemd adheres to the Unix convention of naming daemons by appending the letter d.

Maxwell's demon

demonMaxwell DemonMaxwell's Demons
They took the name from Maxwell's demon, an imaginary being from a thought experiment that constantly works in the background, sorting molecules.
Daemons in computing, generally processes that run on servers to respond to users, are named for Maxwell's demon.

Universal Time-Sharing System

CP-VUTSHoneywell CP-V
Alternate terms for daemon are service (used in Windows, from Windows NT onwards - and later also in Linux), started task (IBM z/OS), and ghost job (XDS UTS).
System Daemons, called "ghost jobs" were used to run monitor code in user space.

File descriptor

file handlefile handlesfilehandle
Closing all inherited files at the time of execution that are left open by the parent process, including file descriptors 0, 1 and 2 for the standard streams (stdin, stdout and stderr). Required files will be opened later.
Each Unix process (except perhaps a daemon) should expect to have three standard POSIX file descriptors, corresponding to the three standard streams:

List of Unix daemons

List of Unix daemons
This is a list of Unix daemons that are found on various Unix-like operating systems.

Extension (Mac OS)

extensionextensionssystem extension
On the classic Mac OS, optional features and services were provided by files loaded at startup time that patched the operating system; these were known as system extensions and control panels.
Extensions generally filled the same role as DOS's terminate and stay resident programs, or Unix's daemons, although by patching the underlying OS code, they had the capability to modify existing OS behaviour, the other two did not.

Bounce message

bouncesDSNbounced
Mailer Daemon (bounce message)
However, unfortunately, a moment later the disk on the library.example server fills up, and so the mail daemon cannot deposit the message in Jill's mailbox.

List of computer term etymologies

common slangComputer term etymologiesComputer terms etymology
List of computer term etymologies
Apache — originally chosen from respect for the Native American Indian tribe of Apache. It was suggested that the name was appropriate, as Apache began as a series of patches to code written for NCSA's HTTPd daemon. The result was "a patchy" server.

Background process

backgroundbackground processesbackground task
In multitasking computer operating systems, a daemon ( or ) is a computer program that runs as a background process, rather than being under the direct control of an interactive user.
In the latter case when the session ends, the child processes are not terminated, either because they are not sent SIGHUP or because they ignore it, and thus become orphan processes, which are then adopted by the init process (the kernel sets the init process as their parent), and they continue running without a session, now called daemons.

Service wrapper

Service wrapper
A service wrapper is a computer program that wraps arbitrary programs thus enabling them to be installed and run as Windows Services or Unix daemons, programs that run in the background, rather than under the direct control of a user.

Terminate and stay resident program

TSRmemory residentterminate and stay resident
In the Microsoft DOS environment, daemon-like programs were implemented as terminate and stay resident (TSR) software.
Daemon (Unix)

Evi Nemeth

In the Unix System Administration Handbook, page 403, Evi Nemeth states the following about daemons:
"Many people equate the word ‘daemon’ with the word ‘demon’, implying some kind of Satanic connection between Unix and the underworld. This is an egregious misunderstanding. ‘Daemon’ is actually a much older form of ‘demon’; daemons have no particular bias towards good or evil, but rather serve to help define a person's character or personality. The ancient Greeks' concept of a ‘personal daemon’ was similar to the modern concept of a ‘guardian angel’ – ‘eudaemonia’ is the state of being helped or protected by a kindly spirit. As a rule, Unix systems seem to be infested with both daemons and demons."

Computer multitasking

multitaskingmulti-taskingmultitask
In multitasking computer operating systems, a daemon ( or ) is a computer program that runs as a background process, rather than being under the direct control of an interactive user.

Computer program

programprogramscomputer programs
In multitasking computer operating systems, a daemon ( or ) is a computer program that runs as a background process, rather than being under the direct control of an interactive user.

Syslog

syslogdcentral loggingsyslog servers
For example, syslogd is the daemon that implements the system logging facility, and sshd is a daemon that serves incoming SSH connections.

Unix

Unix-likeUNIX-basedUX
In a Unix environment, the parent process of a daemon is often, but not always, the init process.