journalctl

Marvin
Jul 12, 2021

--

journalctl is a command for viewing logs collected by systemd. The systemd-journald service is responsible for systemd’s log collection, and it retrieves messages from the kernel, systemd services, and other sources.

Document

Example

sudo journalctl --since YYYY-MM-DD | grep orphaned

sudo journalctl -fu sshd

sudo journalctl -p warning -u sshd

Cheat Sheet

--

--

Marvin
Marvin

Written by Marvin

Notebook for self-learning

No responses yet