首页 > 解决方案 > How to see if a service is running on Linux?

问题描述

I'm using systemctl to setup and run my serviced on a Linux Redhat. How can I check if a service is in running state?

I can use

systemctl is-active <service name> 

to check if the service is is active or not. But I would like to check if the service is in the substate running.

enter image description here

标签: linuxsystemctl

解决方案



推荐阅读