To view the open files and ports associated with a process on macOS, you can use the Terminal application and run the utility commands introduced in this article. You can also find the open files and ports associated with a process in activity monitor. This article will introduce them to you one by one.
Activity Monitor is a built-in utility on macOS that allows you to monitor the performance of your system and identify processes that are using high CPU resources or causing your system to become unresponsive. Here are the steps to use Activity Monitor to manage high CPU usage or unresponsive processes.