Can I avoid debian-sa1 lines in my syslog?
10
votes
3
answers
14393
views
My syslog is chock-full of the following:
Oct 28 23:35:01 myhost CRON: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Oct 28 23:45:01 myhost CRON: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
and also some
Oct 28 23:59:01 myhost CRON: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 60 2)
Now, obviously, these come from cron jobs, in /etc/cron.d/sysstat
:
# Activity reports every 10 minutes everyday
5-55/10 * * * * root command -v debian-sa1 > /dev/null && debian-sa1 1 1
# Additional run at 23:59 to rotate the statistics file
59 23 * * * root command -v debian-sa1 > /dev/null && debian-sa1 60 2
Do I need to have this run so frequently? It doesn't seem to do much when I run it manually. Can I/should I just turn off the cron job, or uninstall sysstat?
Asked by einpoklum
(10753 rep)
Oct 28, 2019, 10:48 PM
Last activity: Nov 16, 2022, 08:14 AM
Last activity: Nov 16, 2022, 08:14 AM