[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fastest growing directories / files ?



Write a script that u run from a cron job every hour or whatever that stat's
each directory that u care about and writes it's size to a text file.  Then
have another script that u run whenever u want to check the "growth rate"
that reads these text files and their times and figures out the bytes/day
change or whatever unit is convenient.  If u want to get fancy u can use
linear regression (cpan.org) to get a more accurate growth estimate and how
big it'll be a month from now based on the current trend.






Reply to: