The atop rpms
| .gitignore | ||
| atop-1.26-cron.patch | ||
| atop.crondaily | ||
| atop.d | ||
| atop.init | ||
| atop.logrotate | ||
| atop.service | ||
| atop.spec | ||
| atop.sysconfig | ||
| README.fedora | ||
| sources | ||
A note on logs:
The /var/log/atop/atop.log file is rotated by logrotate.
The other, date-stamped logfiles, cannot be correctly handled by logrotate.
Since upstream doesn't provide a method for pruning these, I'm not attempting to do so in the
default configuration of the RPM. If you need to do so, use something like this:
find /var/log/atop/atop_* -mtime +5 -exec rm {} \;
This would remove anything older than 5 days, and could be placed in a cron job, etc.
-Jon Ciesla
2012-05-11