In sys-v-init, to query a service's status you can use the service command and do a service $NAME_OF_SERVICE status.

In systemd, how do you query a service's status?

  • On some systems you can still use service but systemctl is the safe bet. Commented Aug 5, 2015 at 13:52

1 Answer 1


To query the status of a service in systemd you can do:

systemctl status $NAME_OF_SERVICE

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .