DECK 4 Flashcards
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
-systemd
for non-recurring user tasks
systemd timers often installed from?
OnCalendar option specifies when service should start
RPM packages
systemctl list-units -t timer
systemctl list-unit-files nameofunit
OnCalendar= 2023--,9:9,19,29:30 =
OnCalendar=*:00/10= runs every 10 min
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)
systemd-jounald is provided by systemd and collects…
…..is high performance log processsor and is used for forwarding to servers
logrotate does what?
-logs
-rsyslogd
-rotate and delete files based on a timer
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
-maybe because /var/log/journal was not created. logs are only being stored in memory if this isn’t set up
multi-user target is not graphical. what is?
when changing runlevel, must reboot
graphical.target