mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 23:28:02 +00:00
Add List The Statuses Of All Upstart Jobs as a linux til
This commit is contained in:
@@ -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
|
warrant a full blog post. These are mostly things I learn by pairing with
|
||||||
smart people at [Hashrocket](http://hashrocket.com/).
|
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)
|
- [Check Ubuntu Version](linux/check-ubuntu-version.md)
|
||||||
- [Configure Your Server Timezone](linux/configure-your-server-timezone.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)
|
- [Upgrading Ubuntu](linux/upgrading-ubuntu.md)
|
||||||
|
|
||||||
### Mac
|
### Mac
|
||||||
|
|||||||
27
linux/list-the-statuses-of-all-upstart-jobs.md
Normal file
27
linux/list-the-statuses-of-all-upstart-jobs.md
Normal 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
|
||||||
Reference in New Issue
Block a user