Every once in a while I need to know the set of files/ports that a process on OS X has opened. I have been using the Activity Monitor for a while but was unaware that this tool also provided this kind of information. In Activity Monitor, just select the process of interest and then click on the Inspect button, and then on the Open Files and Ports button. Here is a screen-cast to show you how.
Advertisement