From 7bbae567f37f1e3b4aced3060e1d6bcb7b2c30e6 Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Tue, 23 Feb 2016 21:28:09 -0600 Subject: [PATCH] Add List The Statuses Of All Upstart Jobs as a linux til --- README.md | 3 ++- .../list-the-statuses-of-all-upstart-jobs.md | 27 +++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 linux/list-the-statuses-of-all-upstart-jobs.md diff --git a/README.md b/README.md index 533f4cd..b243ec3 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/linux/list-the-statuses-of-all-upstart-jobs.md b/linux/list-the-statuses-of-all-upstart-jobs.md new file mode 100644 index 0000000..16b02d6 --- /dev/null +++ b/linux/list-the-statuses-of-all-upstart-jobs.md @@ -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