A nice Perl script that I built in order to manage and size databases caches every night. Not sure that it is perfect but we run it in production since a few months and it seems to work fine up to now. By the way we only have buffered I/O cubes.
The following Perl script takes the following arguments : application and database name and cache type.
How to call : perl.exe confcaches.pl "application" "database" "buffered"