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

Add List The Statuses Of All Upstart Jobs as a linux til

This commit is contained in:
jbranchaud
2016-02-23 21:28:09 -06:00
parent b30cdefafb
commit 7bbae567f3
2 changed files with 29 additions and 1 deletions

View File

@@ -7,7 +7,7 @@ variety of languages and technologies. These are things that don't really
warrant a full blog post. These are mostly things I learn by pairing with
smart people at [Hashrocket](http://hashrocket.com/).
_344 TILs and counting..._
_345 TILs and counting..._
---
@@ -129,6 +129,7 @@ _344 TILs and counting..._
- [Check Ubuntu Version](linux/check-ubuntu-version.md)
- [Configure Your Server Timezone](linux/configure-your-server-timezone.md)
- [List The Statuses Of All Upstart Jobs](linux/list-the-status-of-all-upstart-jobs.md)
- [Upgrading Ubuntu](linux/upgrading-ubuntu.md)
### Mac

View File

@@ -0,0 +1,27 @@
# List The Statuses Of All Upstart Jobs
To see a list of all known upstart jobs and their statuses, use the
following command:
```bash
$ initctl list
...
console stop/waiting
mounted-run stop/waiting
acpid start/running, process 2927
checkfs.sh start/running
checkroot-bootclean.sh start/running
kmod stop/waiting
mountnfs.sh start/running
nginx stop/waiting
plymouth-stop stop/waiting
rcS stop/waiting
ufw start/running
...
```
It will tell you for each job if it is stopped or started.
See `man initctl` for more details.
h/t Josh Davey