Journalctl
How to clear systemd journal logs by time
Learn how to use the journalctl command to query the disk usage of the journal logs and how to clean or trim them by number, size, or age.
How to limit the disk usage of the systemd journal
Learn how to define the maximum size that the systemd journal daemon may use on Linux systems for storing journals and limit its disk usage.
How to see the size of the systemd journal
Use the journalctl command to show the size of the systemd journal logs. In this article we look how journalctl vacuuming works.
How to see kernel messages with journalctl
Linux systems using systemd store kernel events in the journal logs. Show these entries with the '--dmesg' or '-k' option, optionally with a date.
How to see only recent journal entries
Linux systems with systemd use journal to store log entries. Learn how to filter these journal entries by specifying a date or time interval.
How to see new log entries automatically with journalctl
Learn how to continuously show new log entries on Linux systems using systemd with the journalctl command. The behavior will be like the 'tail -f' command.
How to see logging for a specific unit or service
Linux systems with systemd store log entries in a journal. Limit the number of log entries from the journal by filtering journalctl output by unit.
How to see the last X lines with journalctl
Limit the output from journalctl by defining the number of lines you want to see by using the '-n' option, optionally with the service itself.
Journalctl cheat sheet
Learn how to get every piece of information from systemd journals with the journalctl command. This cheat sheet will help you with the task.
Finding boot logs in systemd journals
Systemd stores boot information in a journal. This article shows how to find the related boot logs, and the commands to query all relevant information.