Get Errors in Running Services using Journalctl
To get errors in running services, we can journalctl
command to list out the errors from system journals.
Example: List Errors since Last Boot
journalctl -p -3 -xb
Here, -x
provides extra information, and -b
arguments limits errors since last boot.
Source: Unix - Stack Exhange