Você também pode usar systemctl status
para ver a cauda dos registros, além de qualquer outra informação que o systemd tenha sobre esse serviço:
systemctl status snapd.refresh.service
Por exemplo:
$ systemctl status lightdm.service
● lightdm.service - Light Display Manager
Loaded: loaded (/lib/systemd/system/lightdm.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/lightdm.service.d
└─override.conf
/lib/systemd/system/display-manager.service.d
└─xdiagnose.conf
Active: active (running) since Sun 2016-06-12 09:27:09 IST; 2 days ago
Docs: man:lightdm(1)
Main PID: 2218 (lightdm)
CGroup: /system.slice/lightdm.service
├─2218 /usr/sbin/lightdm
└─2245 /usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
Jun 12 09:27:12 host lightdm[2278]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
Jun 12 09:27:12 host lightdm[2278]: PAM adding faulty module: pam_kwallet5.so
Jun 12 09:27:13 host lightdm[2278]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
Jun 12 09:27:28 host lightdm[2490]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
Jun 12 09:27:28 host lightdm[2490]: PAM adding faulty module: pam_kwallet.so
Jun 12 09:27:28 host lightdm[2490]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
Jun 12 09:27:28 host lightdm[2490]: PAM adding faulty module: pam_kwallet5.so
Jun 12 09:27:28 host lightdm[2490]: pam_succeed_if(lightdm:auth): requirement "user ingroup nopasswdlogin" not met by user "muru"
Jun 12 09:27:36 host lightdm[2490]: pam_unix(lightdm:session): session opened for user muru by (uid=0)
Jun 15 05:53:19 host systemd[1]: [/etc/systemd/system/lightdm.service.d/override.conf:2] Executable path is not absolute, ignoring: true
Informação de nota:
- estado do serviço (ativado / desativado), bem como o estado definido pelo fornecedor (pacote, neste caso)
- localização do arquivo de serviço, além de locais de arquivos importantes (os arquivos "drop-in")
- Processos PID, cgroup e child