๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

๐Ÿ’ก Systemd & Services April 14, 2026 70

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