1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Add Check The Status Of All Services as a devops til.

This commit is contained in:
jbranchaud
2015-05-28 17:55:18 -05:00
parent 24445ccd3b
commit 360f8049ed
2 changed files with 11 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
### devops
- [Check The Status of All Services](devops/check-the-status-of-all-services.md)
- [Push Non-master Branch To Heroku](devops/push-non-master-branch-to-heroku.md)
- [Wipe A Heroku Postgres Database](devops/wipe-a-heroku-postgres-database.md)

View File

@@ -0,0 +1,10 @@
# Check The Status Of All Services
In a Linux environment, you can quickly check the status of a number of
different services. By running `[sudo] service --status-all`, the status
command will be invoked for all services under the `/etc/init.d/` directory.
So, if you want to check the status of something like `nginx` or `apache`,
just run `service --status-all` and find it in the list. The `-` symbol
means it isn't running, the `+` symbol means it is up, and the `?` symbol
means that it cannot determine the status.