4 ms·
Great article, very interesting! I never knew about this :) For those on OSX, `dtruss` seems to work in more-or-less the same way. sudo dtruss -t open ssh
by basicallydan 12y ago
Great article, very interesting! I never knew about this :)
For those on OSX, `dtruss` seems to work in more-or-less the same way.
sudo dtruss -t open ssh whatever.com
More info on stack overflow: http://stackoverflow.com/questions/1925978/equivalent-of-strace-feopen-command-on-mac-os-x http://stackoverflow.com/questions/1925978/equivalent-of-str...
- Someone 12y agoOn Mac OS X you really want to learn about DTrace. dtruss is a DTrace script. See http://dtrace.org/blogs/brendan/2011/10/10/top-10-dtrace-scripts-for-mac-os-x/ http://dtrace.org/blogs/brendan/2011/10/10/top-10-dtrace-scr... for more useful DTrace scripts.
- alexisnorman 12y agoThis just changed my life, thanks so much
- vitd 12y agoAlso on OS X, `fs_usage` will tell you which processes are accessing which files. Very useful!
- Joky 12y agoFrom what I understand it report all interactions with the filesystem after its launch, it does tell you what process is currently accessing which file. lsof does a pretty good job for that.