GNU/Linux Managing Services Getting the status of a service


Example

On systems that use the System-V style init scripts, such as RHEL/CentOS 6:

service <service> status

On systems using systemd, such as Ubuntu (Server and Desktop) >= 15.04, and RHEL/CentOS >= 7.0:

systemctl status <service>