Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am looking for a way to track which files are used by program installer(InstallAnywhere). I cannot use lsof because as far as I know it works on active processes and I want a tool which will work something like that:

Time:
--------------------------------------------------------
Tool start here:
   |-------------------------------------------|
Installer starts here:
      |-----------------------------------|
share|improve this question

2 Answers 2

up vote 2 down vote accepted

You can also consider invoking your command under strace:

strace -f -e trace=file -o /path/to/logfile your_command

logfile would contain every file-related operation performed by your_command or its child processes.

share|improve this answer
    
This is it what I wanted. Thanks. –  t8h7gu Apr 11 '13 at 11:35

Looks like checkinstall is what you want.

share|improve this answer
1  
Please detail a bit more –  vonbrand Apr 11 '13 at 12:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.