Change atop log interval from 10 minutes to 1 minute
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