News for hackers. Stuff that matters.
Re:Debug your programs like they're closed source by basicallydan on Wednesday January 21, 2015 @04:42PM (#8925963)
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-str...
Re:Debug your programs like they're closed source by Someone on Wednesday January 21, 2015 @05:53PM (#8926355)
On 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-scr... for more useful DTrace scripts.

Re:Debug your programs like they're closed source by alexisnorman on Thursday January 22, 2015 @12:42PM (#8930460)
This just changed my life, thanks so much
Re:Debug your programs like they're closed source by vitd on Wednesday January 21, 2015 @06:50PM (#8926598)
Also on OS X, `fs_usage` will tell you which processes are accessing which files. Very useful!
Re:Debug your programs like they're closed source by Joky on Thursday January 22, 2015 @02:32AM (#8928013)
From 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.