I have a situation where I want my disks to 'keep themselves' from getting full. I have *.log in various directories, and when the disk is 80% full I would like to delete the 'oldest' of these, till its 80% again.
Any Ideas? Logrotate doesn't seem to do this, and I could only find 'logadm' which only runs on solaris.
In reply to Rotate log files based upon disk percentage full? by symgryph
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |