Review System Journal Entries Flashcards
1
Q
What command is used to display only log events that originate from the systemd PID 1 process?
A
journalctl _PID=1
2
Q
What command displays all log events that orignated from a system service with a UID of 81?
A
journalctl _UID=81
3
Q
What command displays log events with a warning or higher priority?
A
journalctl -p warning
4
Q
What command displays all recorded log events in the past 10 minutes from the current time?
A
journalctl –since “-10min”
5
Q
What command displays all the recorded log events that orginated from the sshd service since 09:00:00 this morning?
A
journalctl –since 9:00:00 _SYSTEMD_UNIT=”sshd.service”