I'm running a website on a VPS running Centos 6.5 and am having some issues. I'm new to serveradmin so just learning. atop was already installed on our machine and it's working. I wanted to go in and analyse the historical logs but there is nothing in /var/log/atop/, the atop directory is there but is empty.
I thought that it's configured to create logs by default? The man pages are here: http://linux.die.net/man/1/atop
I changed the cron -> /etc/cron.d/atop from
0 0 * * * root /etc/rc.d/init.d/atop condrestart > /dev/null 2>&1 || :
to
0 0 * * * root /etc/atop/atop.daily
Should this get the log file working?
Any pointers would really help. I'm looking to see if my cpu usage is going crazy at a certain point or I'm running out of RAM which is why i'm using atop.
Thanks.