Good afternoon!
The sar tool collects load values every 10 minutes on my Oracle Linux 8.3 via the service
sysstat-collect.service. It fills /var/log/messages with
Quote:
systemd[1]: sysstat-collect.service: Succeeded.
systemd[1]: Started system activity accounting tool.
|
every 10 minutes. That's annoying, I want to silence it. I've already tried three possible solutions which did
not work:
1. Adding the override
Code:
[Service]
StandardOutput=null
to the systemd unit
2. Adding the override
Code:
[Service]
LogLevelMax=warning
to the systemd unit
3. Changing the command to
Code:
ExecStart=/bin/sh -c '/usr/lib64/sa/sa1 1 1 > /var/log/sysstat-collect'
in the systemd unit
Any ideas?
Thanks,
SH