[lug] debugging workstation issue

Zan Lynx zlynx at acm.org
Thu Apr 9 14:21:59 MDT 2020


On 4/9/2020 2:14 PM, Davide Del Vento wrote:
> It's been a long time since I debugged something like this and dmesg 
> shows only messages since last reboot, which are clearly useless. Any 
> clues on how to look at the logs immediately BEFORE that? Bonus points 
> if you have any ideas on what might be going on or specifically what to 
> look for.

If it is a systemd based distribution, try "journalctl -b -1" which 
should show all the logs for the "-1" aka the boot before the current one.

It defaults to using the "less" pager, so press Shift-G to jump to the end.

The systemd journal has the same problem as most log files. If the 
system hardware actually failed, there won't be anything in the log, 
because it won't be able to write it.

-- 
                 Knowledge is Power -- Power Corrupts
                         Study Hard -- Be Evil


More information about the LUG mailing list