ComViewing and Managing Log Files Flashcards

1
Q

Log file Categories

A

System
Service
Event
Application

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

A logging system which stores logs in a binary format that can be viewed by using the journalctl utility

A

systemd journal

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

A utility that can be installed and is usually installed by default in order to manage log files.

A

logrotate

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

The main system log for debian based hosts and stores all global system activity and startup messages

A

/var/log/syslog
Options controlled by /etc/syslog.config or /etc/rsyslog.conf in newer versions

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

The main system log on rhel based hosts. Stores all global system acitivity and startup messages

A

/var/log/messages

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

Option for journalctl that views messages for a particular systemdunit

A

-u unit

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

Follows journalctl for latest messages

A

-f

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

jumps to the end of the journal

A

-e

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

adds explanaion texts from the message catalog

A

-xs

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

hows entries from a specified data

A

-s -u since until

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

Setings for the systemd journal can be updated by modifying /etc/systemd/journald.conf

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