Activity Monitor is similar to Windows Task Manager. It displays a variety of resources in use on your system in real time. It shows the processes that are running on your Mac, so you can manage them and see how they affect your Mac’s activity and performance. In this article, we shall discuss how to Launch macOS Activity Monitor from the Utility and Terminal. Please see process Explorer – SysInternal Tools, how to use SysInternals Live Tools, how to download and use Windows SysInternals tools locally, and Process Explorer (Replace built-in Task Manager).
How to Launch macOS Activity Monitor
To launch Activity Monitor, there are various ways to go about this. From the LaunchPad, Search for Activity Monitor
Launch Activity Monitor via the Application Utilities
Alternatively, from the Applications. Then click on Utilities. Navigate to this folder and double-click the icon to launch the app as shown below.
However, you can get to this (or any Mac app) much faster using Spotlight search. Press Cmd + Space to open Spotlight. Then type in the first few letters of the app and press Return.
Either of the following steps will open up Activity Monitor as shown below. Please see the User account and process management in Linux.
The Activity Monitor Window of the application is the principal process monitor. It displays a list of both open apps and system processes. Some apps are easy to spot, while others are system-level processes essential for running macOS.
Exploring Activity Monitor Menus
Click the column header at the top to arrange the processes in either ascending or descending order. On the upper right, there is a Search Filter box that lets you search for a specific process.
You may want to see how to launch the Task Manager in Windows, and how To Get Install.WIM From Windows 10 Installation File
The category tabs at the top of the window as shown below.
(CPU, Memory, Energy, Disk, and Network) focuses on specific kinds of data. They’re the primary system monitor indicators and gives you a lot of valuable information for troubleshooting purposes. Each pane shows real-time stats and graphs of resource usage over time.
How to Pin Activity Monitor
To pin Activity Monitor in your Dock. Right-click the app icon and choose Options. Select Keep in Dock.
You can even monitor vital parameters right from the Dock by selecting View, and Dock Icon. Select Show CPU Usage or History.
For more information, visit this page https://support.apple.com/en-us/HT201464
Using the the Terminal, We basically have two commands to do this.
- ps aux
Example 1: Show all running processes via the Terminal
To show all running processes on macOS via the command line, the following command below is needed and it is generally available for both Linux and Mac.
Other commands that can be used
Type ps -ax at Terminal’s command prompt to list every process running, along with additional details such as the PID, the elapsed time running, and the process name and location. Another useful command to help find a process by name or PID is grep which can filter out the desired information.
It can be used in conjunction with the ps -ax command to list only the process that you are interested in. At the command prompt type ps -ax | grep <application name>.
Example 2: Show the processes in macVia the Terminal
Lastly you could use the “top” command. The “top” command is used to show the processes in mac and in Linux. It provides a dynamic real-time view of the running system.
Usually, this command shows the summary information of the system and the list of processes or thread.
Once you know the process ID has been determined, killing it via the Terminal is simple. But absolute care needs to be taken however because, forcing a process to suddenly exit can have unforeseen consequences, so it’s advisable to check carefully that the process you are about to kill is the correct one.
Please see How to locate and edit the host file on macOS, Task Kill vs Stop Process: How to search for a service PID, Detect registry keys using Process Monitor using Sysinternals Tools, and Detect registry keys using Process Monitor using Sysinternals Tools.
There are essentially two easy ways to kill a process:
- By PID: The simplest way is with the kill command followed by the PID, which causes the selected process to terminate immediately. In the Sky example, kill 14530 does the job and causes the process to exit immediately
- By name: This method uses the killall command to kill all the processes that contain that name. For example, killall Skype will terminate all the processes that have Skype in their name
Caution: killall should be used sparingly to avoid accidentally terminating the wrong processes.
I hope you found this blog post helpful on How to Launch macOS Activity Monitor from the Utility and Terminal. If you have any questions, please let me know in the comment session.