Am I running systemd or good old init?

To determine whether or not you're using old school, System V init or systemd (or a mix!), do the following:

$ cat /proc/1/comm
$ ls -l /sbin/init
lrwxrwxrwx 1 root root 20 May 26 08:07 /sbin/init -> /lib/systemd/systemd

Here, the system is using systemd.

If System V was in use, "init" would be printed in the first command and the latter command would show no symlink to systemd.

List all systemd available services

$ systemctl list-unit-files

You can grep for enabled and running to narrow down your search.

Licensed under CC BY Creative Commons License ~ ✉ torstein.k.johansen @ gmail ~ 🐘 ~ 🐦 @torsteinkrause