SystemD - Journalctl

About

Journalctl is an utility to see the system logs.

Management

To see all log of a service

journalctl -u serviceName
# or qualified
journalctl -u serviceName.service

To see only log messages for the current boot

journalctl -u serviceName -b
# or qualified
journalctl -u serviceName.service -b

To see system logs

to see system logs live …

journalctl -f

Log from the last hour

To see logs from e.g. the last hour, and only from the cron daemon:

journalctl --since "1 hour ago" -t CRON

Powered by ComboStrap