OCI: How To Check Next Runtime For SAR Log Generation In Oracle Linux 8
in Linux
Applies to:
Oracle Cloud Infrastructure
Oracle Linux x86_64
Goal
This article is intended to provide an overview of systemd timers to check the next date:time of the sar log generation in /var/log/sa/sar001
SOLUTION
The systemd
timers provide a flexible mechanism for scheduling and managing jobs and services. This specifies a timer that triggers the service 24 hours after the service has been activated (that is, the timer triggers the service once a day).
To list all active timers:
$ sudo systemctl list-timers
To list all timers including inactive ones:
$ sudo systemctl list-timers --all
Running the command “systemctl list-timers
Tagged:
0