How to track child process using strace?
strace -f to trace child process that’s fork()ed.
strace -f to trace child process that’s fork()ed.
I suppose you meant strace -fetrace=open? dtruss -f -t open python myfile.py
You want the -v -s strsize option, which specifies the maximum length of a string to display (the default is 32).
Strace Overview strace can be seen as a light weight debugger. It allows a programmer / user to quickly find out how a program is interacting with the OS. It does this by monitoring system calls and signals. Uses Good for when you don’t have source code or don’t want to be bothered to really … Read more