symgryph has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Rotate log files based upon disk percentage full?
by Laurent_R (Canon) on Feb 07, 2014 at 00:00 UTC | |
by Anonymous Monk on Feb 07, 2014 at 00:17 UTC | |
|
Re: Rotate log files based upon disk percentage full?
by GotToBTru (Prior) on Feb 06, 2014 at 23:06 UTC |