journalctl Cheatsheet

Top commands.

Overview

journalctl is the systemd journal viewer. Modern Linux services all log to the journal; fluency with journalctl is the difference between “the service is broken” and specific log lines pinpointed to a window.

The approach

Three habits separate fluent journalctl from beginner journalctl: filter by service, bracket the time window, and combine flags rather than running them serially.

Why this compounds

journalctl fluency compounds across every systemd Linux host the team operates. Each investigation teaches a little more about the systemd unit graph and the journal.