Systemd and its Components in Linux (original) (raw)

Last Updated : 11 May, 2026

Systemd is a system and service manager for modern Linux operating systems. It initializes the system, manages services, and controls system resources during startup and runtime. Systemd replaces the traditional SysV init system and runs as the first process with Process ID (PID) 1.

Managing Services with systemd

Systemd provides a unified framework to manage services, system resources, and configurations efficiently. Services are organized into units, and systemctl is the main utility to control them.

Primary Utilities:

Service Management Commands:

**1. List all services (active and inactive):

Displays all services, including their current state, description, and whether they are loaded.

**Command:

systemctl list-units --type service --all

What is Linux Systemd and Its Components

**2. Start a service:

Launches the service immediately but does not enable it on boot.

**Command:

systemctl start [service-name]

Linux Systemd and Its Components

**3. Stop a service:

Stops the service immediately.

**Command:

systemctl stop [service-name]

Linux Systemd and Its Components

**4. Restart a service:

Stops and starts the service in one step. Useful after configuration changes.

**Command:

systemctl restart [service-name]

Linux Systemd and Its Components

System Power Management Commands:

systemd also provides commands for managing system power operations.

**Halt the system:

systemctl halt

**Power off the system:

systemctl poweroff

**Reboot the system:

systemctl reboot

**Note: