systemd Flags & Options
Init system, systemctl and journalctl.All systemd pages
- journalctl --since and --until: show logs from a time rangejournalctl --since and --until (-S, -U) limit logs to a time range: dates, today, yesterday, -1h, 30 min ago, time zones. Quoting and interaction with -b.
- journalctl --vacuum-size and --vacuum-time: free disk space used by the journaljournalctl --vacuum-size, --vacuum-time and --vacuum-files delete old archived journal files. Why disk usage stays high, --rotate, and SystemMaxUse limits.
- journalctl -b: logs from the current or a previous boot (-b -1, --list-boots)journalctl -b shows logs of the current boot, -b -1 the previous one, --list-boots all stored boots. Why previous boots are missing and how to keep them.
- systemctl --user: manage your own services without sudosystemctl --user manages services in your own user manager, from ~/.config/systemd/user, without sudo. Lingering, logs with journalctl --user and pitfalls.