Daemon
Subject: Computer and Technology noun /ˈdiː.mən/ 1 definition
- operating-systems
- process-management
- system-administration
- systems-programming
-
Definition (noun)
Entry #212 · UpdatedA daemon is a background computer process that runs continuously without direct interactive control from a user, responding to system events, scheduled triggers, or network requests. In Unix-like operating systems, daemons are typically launched at boot by an init system and detached from any controlling terminal, redirecting standard input, output, and error streams to null devices or log files. Unlike foreground applications or one-off scripts that exit after completing a single task, a daemon remains resident in memory to provide persistent system services and is conventionally named with a trailing
d(such assshdorhttpd).Common Types
System Daemons: Privileged background services started at boot to manage core operating system tasks such as device discovery, logging, and job scheduling (for example,
udevdorcrond).Network Daemons: Server processes that bind to TCP/UDP ports or domain sockets to accept and serve incoming client connections (for example,
sshdornginx).Socket-Activated Daemons: On-demand services whose listening sockets are monitored by a service manager like
systemdorlaunchd, spawning the daemon process only when traffic arrives.Kernel Daemons: Background execution threads running inside kernel space (such as Linux
kswapd) to perform low-level tasks like memory reclamation and disk writeback without user-space overhead.
Example
When a Linux server boots, its service manager starts the
sshddaemon detached from any console to listen on TCP port 22. When an engineer later connects over SSH from a laptop,sshdauthenticates the session and spawns an interactive shell while the main daemon continues listening for additional connections.