85ecc37e11
template systat cron for centos only install /etc/default/systat on ubuntu /etc/default/sysstat only configure debian-sa1 which is not on centos introduce 2 vars : openstack_host_sysstat_file openstack_host_cron_template Change-Id: Ib4fde6e4b9d3ce23524a5b5a17dbf15065bbeb4c
9 lines
379 B
Django/Jinja
9 lines
379 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
# Run system activity accounting tool every 10 minutes
|
|
*/{{ openstack_host_sysstat_interval }} * * * * root /usr/lib64/sa/sa1 1 1
|
|
# 0 * * * * root /usr/lib64/sa/sa1 600 6 &
|
|
|
|
# Generate a daily summary of process accounting at {{ openstack_host_sysstat_statistics_hour }}:59
|
|
59 {{ openstack_host_sysstat_statistics_hour }} * * * root /usr/lib64/sa/sa2 -A
|