How to view the startup services in Ubuntu?
In Ubuntu, you can use the following command to view the running services:
- system control manager
systemctl status <service_name>
In this case,
- system control/cmd
systemctl list-units --type=service --state=running
- assistance
service <service_name> status
The
- ps – I only need one version of the paraphrased text.
ps aux | grep <service_name>
Among them,
By using the above command, you can check the status and process information of the service to determine if it is running.