Skip to main content

Systemd

Systemctl

Information Gathering

List systemd units by type (services, targets, sockets, etc) that are active and/or running or have run. Double-tab after theĀ --type option to see all unit types that can be listed. The below command lists services.

systemctl list-units --type service

ListĀ all systemd units by type regardless of whether or not they have active/running or have run. The below command lists services.

systemctl list-unit-files --type service