User Tools

Site Tools


linux:service

Services | Systemctl

To see the status of all services, type the following:

sudo systemctl list-units --type=service 

To list services by status, type the following:

sudo systemctl list-units --type=service --state=active 

Possible values for –state= include running, stopped, enabled, disabled and failed.

sudo systemctl list-units --failed 
linux/service.txt · Last modified: 2024/10/01 13:58 by 127.0.0.1