Jumanjiman

Linux Engineer and advocate for freedom and transparency

Check Boot-time Service Status With Systemctl

Seth Vidal posted a useful snippet at http://skvidal.wordpress.com/2011/11/04/like-chkconfig-list today for checking the boot-time status of services on a host using systemd.

I copied and pasted from his blog into my shell, only to discover that Wordpress had transformed his double-quotes into smart quotes. Bleh. So I hacked for a couple minutes and came up with this new version:

Here’s 10 lines of output from the script:

Boot-time service status
1
2
3
4
5
6
7
8
9
10
abrtd.service                                             on
accounts-daemon.service                                  off
acpid.service                                             on
atd.service                                               on
atop.service                                             off
avahi-daemon.service                                      on
bluetooth.service                                         on
canberra-system-bootup.service                           off
canberra-system-shutdown-reboot.service                  off
canberra-system-shutdown.service                         off

Enjoy!

Comments