90. journalctl

查看systemd的日志 [1]

Without arguments, all collected logs are shown unfiltered:

journalctl

Show all logs generated by the D-Bus executable:

journalctl /usr/bin/dbus-daemon

Show all kernel logs from previous boot:

journalctl -k -b -1

Show a live log display from a system service apache.service:

journalctl -f -u apache
[1]http://man7.org/linux/man-pages/man1/journalctl.1.html