Skip to content

Instantly share code, notes, and snippets.

@dwo
Created February 16, 2016 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwo/a11f3353ce2e69264548 to your computer and use it in GitHub Desktop.
Save dwo/a11f3353ce2e69264548 to your computer and use it in GitHub Desktop.
See what files get opened by a process on OSX
sudo dtruss -t open -p PID
@dwo
Copy link
Author

dwo commented Feb 16, 2016

inspired by Julia Evan's PyCon talk about strace: https://youtu.be/5v6o-VsLAew?t=10m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment