How to get the set of open files/ports for a process

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

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.