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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What command displays all log events that orignated from a system service with a UID of 81?

A

journalctl _UID=81

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What command displays log events with a warning or higher priority?

A

journalctl -p warning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What command displays all recorded log events in the past 10 minutes from the current time?

A

journalctl –since “-10min”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly