102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 27


FILL BLANK -

Which command included in systemd supports selecting messages from the systemd journal by criteria such as time or unit name? (Specify only the command without any path or parameters.)

Show Answer
Correct Answer:

The command included in systemd that supports selecting messages from the systemd journal by criteria such as time or unit name is 'journalctl'. This command is used to query and display logs from the journal, and it can filter messages based on various criteria.

Discussion

3 comments
Sign in to comment
hossem1998
Aug 30, 2020

journalctl

Audio00_02
Dec 27, 2020

DAJE DAJE DAJE

lucaverce
May 19, 2022

From the MAN pages: JOURNALCTL(1) journalctl NAME journalctl - Query the systemd journal DESCRIPTION journalctl may be used to query the contents of the systemd(1) journal as written by systemd-journald.service(8). If called without parameters, it will show the full contents of the journal, starting with the oldest entry collected.