Daemon

A daemon (also known as a "background process") is a program that runs in the background and performs tasks without any input from the computer's user. Instead, they wait for specific triggering events or conditions before performing their functions. Unix and Unix-based operating systems like Linux and macOS use daemons for many critical system tasks.

The name 'daemon' comes from Greek mythology, referring to an "inner or attendant spirit." Like the mythical spirit, a daemon process hides out of sight. It performs a helpful task on its own and without being asked. Most importantly, without the daemon, these tasks would not get done at all.

Activity Monitor in macOS with the <b>sysmond</b> daemon selected and several others visible
Activity Monitor in macOS with the sysmond daemon selected and several others visible

While viewing your computer's active processes, you can identify daemons by their names — by tradition, the process names of Unix daemons end with the letter 'd.' For example, httpd is the background service on a web server that waits for incoming requests, then provides webpages and other files. Other commonly-used daemons include crond, responsible for running scheduled cron jobs, and lpd, which sends print jobs to a network printer. Some daemons ignore this naming convention, including the full word 'daemon' in their names.

NOTE: Background processes that run without user input in Windows are known as services, not daemons, but fill the same role.

Updated May 9, 2023 by Brian P.

quizTest Your Knowledge

Which of the following is not a design pattern associated with object-oriented programming?

A
Creational pattern
0%
B
Intrinsic pattern
0%
C
Structural pattern
0%
D
Behavioral pattern
0%
Correct! Incorrect!     View the Design Pattern definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Daemon on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.