How to get last crash log from ArchLInux

47,055

Solution 1

journalctl --since=today

Reference

Solution 2

To get the log of the last boot, execute as root or with sudo:

journalctl -b -1

learned from this discussion.

Share:
47,055

Related videos on Youtube

Kokizzu
Author by

Kokizzu

TechStacks (PL/DB only) C/C++ fan 2004.08-2012 Delphi fan 2005.08-2008.01 C# fan 2005.10-* PHP fan 2006.08-2009 JavaScript fan 2009-2012, 2015.01-* PostgreSQL fan 2009-2019.06 Ruby fan 2012.08-2021.01 Go fan 2014.06-* Aerospike fan 2016.11-* Tarantool fan 2020.09-* Clickhouse fan 2021.04-* TiDB fan 2021.11-* ScyllaDB fan 2022.03-* other preferred stack: Svelte, SvelteNative, Unity3D Work History Lab and Teaching Assistant @ IE* Petra Christian University (2005-2008) Freelance Programming Tutor (2006-2014,2020) Network and System Administrator @ UPH Surabaya (2008-2010) Part-time Lecturer @ IE* Petra Christian University (2008-2011) Part-time Programmer and Teaching Assistant @ Information Systems UPH Surabaya (2010-2012) Lecturer @ IS* UPH Surabaya (2010-2013) Programmer @ Vi8e Interactive (2012-2013) Programmer and Lecturer @ IE* Surya University (2013-2014) Part-time Lecturer @ ICT* STKIP Surya (2013-2015) Freelance IT Consultant, IT Trainer (2014+) IT Specialist and Lecturer @ IS* President University (2014-2016) Backend Programmer @ Billions Platform (2016-2018) Game Programmer @ Alegrium (2018-2019) Backend Programmer @ Cyza (2020-2021) Backend Developer (Product) @ Bukalapak (2021-2021) Backend Developer (Platform) @ SoloFunds (2021-2022) Backend Developer (Product) @ secret (2022-now) IE* = Informatics Engineering IS* = Information Systems ICT* = Information and Communication Technology

Updated on September 18, 2022

Comments

  • Kokizzu
    Kokizzu almost 2 years

    My system suddenly crashed, I have restart it, where could I find the last/previous crash log, since there are no /var/log/syslog* anymore..

  • Marius
    Marius over 3 years
    or journalctl --since="2021-03-18 00:17"