identify files used opening an application?
I want to experiment using the readahead package in Fedora. From what I have read, I can give it a list of files to have it read them into ram cache which will speed up application start-up speed. I have 4GB of ram on my laptop and generally only sit around 300mb used; so I have plenty of io cache I can benefit from.
I plan to test with Songbird. When I first boot Songbird after a restart, it takes 11.53 secs to boot. If I close and reopen the app, it takes 3.43 seconds presumably because the files are already in io cache.
I need to find out what files are loaded when Songbird starts. How to I find this out?
Running `ldd songbird-bin` gives me a very short list of so files, so there must be other files that are read. Is there some standard way of finding this out or someway to monitor this?
Perhaps a trick I can do with lsof?