sar cron 주기 수정
2023. 2. 17. 14:29ㆍLinux/CentOS 9
728x90
SMALL
- 개요
CentOS 9 에서 sar cron 주기 변경 10분 -> 1분
- 방법
[root@ecs ]# cat /usr/lib/systemd/system/sysstat-collect.timer
# /usr/lib/systemd/system/sysstat-collect.timer
# (C) 2014 Tomasz Torcz <tomek@pipebreaker.pl>
#
# sysstat-12.5.4 systemd unit file:
# Activates activity collector every 10 minutes
[Unit]
Description=Run system activity accounting tool every 1 minutes
[Timer]
OnCalendar=*:00/1
[Install]
WantedBy=sysstat.service
[root@ecs ]# systemctl daemon-reload
728x90
LIST
'Linux > CentOS 9' 카테고리의 다른 글
systemctl 환경에서 sysstat interval 변경 (0) | 2023.08.14 |
---|---|
Editing "/etc/systemd/system/<service>.d/override.conf" canceled: temporary file is empty. (0) | 2023.08.14 |