[systemd-devel] Fastest way to dump last X Mo of logs from the journal ?

Lennart Poettering mzxreary at 0pointer.de
Thu Apr 25 11:47:52 UTC 2024


On Mi, 24.04.24 14:48, Etienne Champetier (champetier.etienne at gmail.com) wrote:

> Hi all,
>
> sos report includes the last X Mo of logs, sometimes filtered,
> sometimes not

what is "last X Mo" supposed to mean? is "mo" supposed to mean months?
thus: show logs from a given number of most recent months? if so, just
use:

   journalctl --since=-3month

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list