Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: File Open by Process

by Eliya (Vicar)
on Nov 22, 2011 at 21:16 UTC ( #939548=note: print w/ replies, xml ) Need Help??


in reply to Re^2: File Open by Process
in thread File Open by Process

$ strace -f -eopen ./yourscript.pl

or

$ strace -f -efile ./yourscript.pl


Comment on Re^3: File Open by Process
Select or Download Code
Re^4: File Open by Process
by shaikh741 (Novice) on Nov 22, 2011 at 21:31 UTC
    Thank you so much. I am working on my script, so I cannot try it at this time, but to confirm, it should also follow any processes created by my Perl script (compiler, linker, etc calls) if -f options is passed to it, correct?
      it should also follow any processes created by my Perl script

      Yes, that's what the -f is for.  See "man strace" for other useful options.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939548]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2014-10-25 10:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (142 votes), past polls