Linux logs

Hi to everyone.
My laptop from time to time is going in “surprise” reboot.

There is some way to track problem via logs?
Voltage, memory for example.
Or maybe some tests.

journalctl is your friend

  • run
dmesg -w

in the console. That would probably give messages about hardware failing before the reboot.

Memory can be tested by using memtest86+