Created
February 22, 2024 23:36
-
-
Save karawitan/dc952bef32488dfb3c98fca3717b6376 to your computer and use it in GitHub Desktop.
journalctl common commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
journalctl -u <unit> | |
journalctl -u <unit> -f --no-hostname | |
# view the system journal logs for the current boot session | |
journalctl -b | |
journalctl -u ufw.service -f | |
journalctl --vacuum-time=2d | |
journalctl --vacuum-time=600s | |
journalctl -u snap.microk8s.daemon-kubelite.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment