DECK 4 Flashcards

1
Q

primary solution for scheduling in RHEL 9

crond= older and easier to use for scheduling

at=

systemd unit.timer files go together with systemd unit.service files

A

-systemd

for non-recurring user tasks

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

systemd timers often installed from?

OnCalendar option specifies when service should start

A

RPM packages

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

systemctl list-units -t timer

systemctl list-unit-files nameofunit

OnCalendar= 2023--,9:9,19,29:30 =

OnCalendar=*:00/10= runs every 10 min

A

shows timers

shows info on specific timer

in 2023, runs everyday (-) at 9:09 (9:9) 9:19 (9,19), and 9:29 (9,29). At the 30 second mark for each (:30)

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

systemd-jounald is provided by systemd and collects…

…..is high performance log processsor and is used for forwarding to servers

logrotate does what?

A

-logs

-rsyslogd

-rotate and delete files based on a timer

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

Storage=auto is set, but logs are being lost. Why?

lsblk gives overview of existing devices

/dev/sdx = sata
/dev/kvm = virtual machine

sda = first hard disk, sdb = 2nd, and so on….

with nvme the 1st number is the hard disk and the 2nd number is the partition

A

-maybe because /var/log/journal was not created. logs are only being stored in memory if this isn’t set up

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

multi-user target is not graphical. what is?

when changing runlevel, must reboot

A

graphical.target

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