Intermediate Package: systemd

systemctl list-units

List loaded systemd units and their state.

Syntax

systemctl list-units [options]

Description

list-units shows every unit systemd currently knows about along with its load, active and sub state, and is useful for getting an overview of everything running on a system, not just a single service.

Examples

systemctl list-units --type=service
List all loaded service units
systemctl list-units --state=running
List only units currently running
systemctl list-unit-files --state=enabled
List all units enabled to start at boot

Applies to

Ubuntu Debian Linux Mint RHEL CentOS / Rocky / AlmaLinux Fedora Arch Linux openSUSE