How to configure atop sampling interval & log path?
- Edit the file
/etc/default/atop
- SET
INTERVAl=60
- SET
LOGPATH="/ur-desired-path"
, in this caseLOGPATH="/var/log/atop"
- Restart the
atop
servicesystemctl restart atop.service
P.S. In Centos 7 I have atop
's config file in /etc/sysconfig/atop.