From `man`
> When atop is installed, the script atop.daily is stored in the /etc/atop directory. This scripts takes care that atop is activated every day at midnight to write compressed binary data to the file /var/log/atop/atop_YYYYMMDD with an interval of 10 minutes. Furthermore the script removes all raw files which are older than four weeks. The script is activated via the cron daemon using the file /etc/cron.d/atop with the contents
>
>
> 0 0 * * * root /etc/atop/atop.daily
>
If you have installed from epel the script path will be `/etc/sysconfig/atop`
Dont forget to start the service.
[root@testserver atop]# pwd
/var/log/atop
[root@testserver atop]# ls
atop_20180829 atop.log