🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

💡 Systemd & Services April 14, 2026 1

Linux Command: systemctl

Control systemd services, timers, sockets, and system state

Terminal — Systemd & Services
Command
$ systemctl list-units --type=service --state=failed
Output
UNIT LOAD ACTIVE SUB DESCRIPTION php8.2-fpm.service loaded failed failed The PHP 8.2 FastCGI Process Manager 1 loaded units listed.

systemctl is the primary interface to systemd. Beyond start/stop/restart/status, use list-units --state=failed to audit health, list-timers for scheduled jobs, and edit service-name to safely override unit files via drop-ins.

Share this tip