My computer with Trusty is often rebooting, apparently in a random way. I have looked in system register but there are so many logs that is quite difficult to find the ones which only report the error that made the system reboot. How can I find only those which caused the reboot?
2 Answers
You can look at the logs leading to the last boot with
journalctl -b -1 -e Of course, read man journalctl first.
You can begin by checking /var/log/auth* logs. Also look at this link for possible reasons.