in reply to tracking module usage

Don't know how well it would scale for a large number of files, but just to throw in another idea: maybe you could try inotify (or the respective Perl module Linux::Inotify2).  In case it doesn't turn out to become a resource hog... it might give much more detailed access statistics than a nightly scan of atimes would provide.

Replies are listed 'Best First'.
Re^2: tracking module usage
by pileofrogs (Priest) on Dec 03, 2008 at 22:29 UTC

    That's a good suggestion. If I don't find myself happy with atimes, I may go that route. I don't need very good resolution, just a general idea. Basically, when I do an OS upgrade or whatever, I don't want to keep every single PM, just the ones I actually use. So I only need to know, has this PM been used at all for the last X day/months/whatever.

    Good suggestion though.