Change Atop Log Interval From 10 Minutes To 1 Minute


Answer :

On recent versions the configuration file used by systemd is /usr/share/atop/atop.daily (see /etc/systemd/system/multi-user.target.wants/atop.service).

Here you can change the variable INTERVAL and restart the atop service.


Add the following line to /etc/atoprc, if the file doesn't exist create it:

interval 60 

atop no longer uses the /etc/default/atop file.

Unless you are using an older version of atop. Then you might want to change INTERVAL=600 to INTERVAL=60 in /etc/default/atop.


Try to edit the file /usr/share/atop/atop.daily and change INTERVAL=.

Then:

service atop restart 

Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?