I have some service which is getting restart every 5-10 minutes due to some crash. The effect of this is that it restart's other services which are in "Require" and "After". Is there any way to find complete logs for systemctl.

  • 1
    You can try journalctl -u <service_name>. Commented Apr 26, 2018 at 10:40

2 Answers 2


You can use sudo journalctl _PID=<pid> if you know the PID. This can be useful in cases where the process was too short-lived for systemd to resolve the unit name.


Full logging generated by systemd is available with:


To see the log for a specific system unit, you can use:

journalctl --unit=<unit-name>

For a system unit or:

journalctl --user-unit=<unit-name> for a "user" unit.

There are some cases in which the unit attribution is missing, so it can be good to review the full journal output around the time your service started or stopped to see if there is any additional related logging besides what you see with journalctl --unit=.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .