- outline
Chaging interval of SAR cron 10 minutes to 1 minitu on CentOS 9
- how-to
>> sudo systemctl edit --full sysstat-collect.timer
## change 10 -> 1
>> systemctl daemon-reload
>> systemctl cat sysstat-collect.timer
# /etc/systemd/system/sysstat-collect.timer
# /usr/lib/systemd/system/sysstat-collect.timer
# (C) 2014 Tomasz Torcz <tomek@pipebreaker.pl>
#
# sysstat-12.5.6 systemd unit file:
# Activates activity collector every 1 minutes
[Unit]
Description=Run system activity accounting tool every 1 minutes
[Timer]
OnCalendar=*:00/1
[Install]
WantedBy=sysstat.service
>> systemctl restart sysstat.service
>> sar -q