How can i track all the files accessed by script. The script is supposed to bring up my application and this script is just the main script which inturn calls another scripts and executable. I need to know all the the files this main script calls and the files accessed by all the other scripts inside the main scripts and by the all the sub scripts.
I tried using lsof but was unable to track the files opened by the child process.
All ideas are welcome.