systemd and journalctl · Logs with journalctl
Show recent entries only
Show entries from the last hour.
journalctl -u nginx --since "1 hour ago"
Official systemd and journalctl documentation
More logs with journalctl commands
- Show a service's logs
- Follow a service's logs
- Show errors from this boot
- Show the previous boot's logs
- Show kernel messages
- Show the latest lines
All logs with journalctl commands · systemd and journalctl cheatsheet