The system journal, systemd-journald


As of 2015, systemd replaced SysV Init as a de facto system and service manager in most major Linux distributions. As a consequence, the journal daemonjournald has become the standard logging component, superseding syslog in most aspects. Thus, the journalctl utility is necessary to read the logs.


Control the systemd login manager

journalctl is used to read and query systemd's journal database.
Pasted image 20240818174238.png

However, if invoked with the -k or --dmesg switches, it will be equivalent to using the dmesg command:
Pasted image 20240818174442.png

other interesting journalctl options are:

  • -b shows boot information.
  • -u shows messages about a specified unit.
  • -f shows most recent journal messages and keeps printing new entries as they are appended to the journal.