journalctl Flashcards

1
Q

Show all fields in full, even if they include unprintable characters or are very long.

A

journalctl -a

–all

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

Show only the most recent journal entries, and continuously print new entries as they are appended to the journal.

A

journalctl -f

–follow

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

Immediately jump to the end of the journal inside the implied pager tool.

A

journalctl -e

–pager-end

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

Show the most recent journal events and limit the number of events shown. Implied if –follow is used.

A

journalctl -n

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

Reverse output so that the newest entries are displayed first.

A

journalctl -r

–reverse

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

Controls the formatting of the journal entries that are shown.

A

journalctl -o

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

Augment log lines with explanation texts from the message catalog. This will add explanatory help texts to log messages in the output where this is avialble.

A

journalctl -x

–catalog

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

Suppresses all informational messages (i.e. “– Journal begins at …”, “– Reboot –”), any warning messages regarding inaccessible system journals when run as a normal user.

A

journalctl -q

–quiet

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

Show entries interleaved from all available journals, including remote ones.

A

journalctl -m

–merge

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

Show a tabular list of boot numbers (relative to the current boot), their IDs, and the timestamps of the first and last message pertaining to the boot.

A

journalctl –list-boots

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

Show only kernel messages.

A

journalctl -k

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

Show messages for the specified systemd unit UNIT (such as a service unit (chronyd)), or for any of the units matched by PATTERN.

A

journalctl -u

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

Print a short help text and exit.

A

journalctl -h

–help

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