TECHNOLOGY 

Published on
KembaraXtra-Case Law- Services and Daemons
Core Concept: Background Processes
  • Definition: Services (Windows) and daemons (Unix-like systems) are processes that run automatically in the background, without direct user interaction.
  • Purpose: Provide system-level capabilities that:
    • Are not tied to a specific user.
    • Do not require kernel-mode privileges.
    • Need to be available on demand.
  • Examples:
    • Configuring network settings
    • Running scheduled tasks
Service/Daemon Management
  • Responsibility: Operating systems have components to manage services/daemons. This includes:
    • Starting services/daemons at boot.
    • Starting services/daemons in response to events.
    • Restarting services/daemons after failures.
Windows: Service Control Manager (SCM)
  • Function: Manages Windows services.
  • Executable: services.exe
  • Startup: Started early in the boot process and runs continuously.
Linux: systemd
  • Function: Manages daemons (and acts as the init process).
  • Status: Standard daemon manager for many modern Linux distributions.
  • Startup: Started very early in the boot process and runs continuously.
Terminology
  • Daemon Origin: Inspired by Maxwell's demon, a background "helper" in a physics experiment.
  • Pronunciation: "DAY-mon" (common in computing) or "demon" are both acceptable when referring to background processes.
  • Service vs. Daemon: Historically, "service" was Windows-specific, but is now also used on Linux, often for daemons managed by systemd.
Picture
0 Comments