Worse than unexpectedly crashing applications are only those that stop responding to external stimuli in the face of the user desperately pressing buttons, but continue to function, consuming resources and clogging RAM with digital garbage. Fortunately for us, there are at least 5 methods of dealing with this problem.
♥ BY TOPIC: How to copy the full path to a file or folder on macOS.
How to close a frozen program on macOS
Method number 1 – hot buttons
A combination of ⌘Command + ⌥Option (Alt) + Esc opens a window for forced termination of running programs. The list presented shows the currently running applications, the space on the right is usually empty. If in any line the inscription “does not answer” flaunts, we boldly click on it, highlighting the hung program. In difficult cases, there may not be an inscription – you will have to call on intuition and observation to help you figure out the troublemaker.
The only button on the bottom right leaves no alternatives, all we can do is to abnormally close the selected application. Let’s try. But usually they do it easier, while we remain within the window of the frozen program, we use a more complex combination of hot buttons ⌘Command + ⌥Option (Alt) + ⇧Shift + Esc… We hold them pressed for three long seconds and macOS will automatically close this window.
♥ BY TOPIC: How to force restart your MacBook (Pro, Air), iMac, or Mac mini.
Method number 2 – using the Apple menu ()
At the very top of the desktop, in the extreme left corner, there is a magic icon in the form of a company logo , which opens access to the basic functions of the system – in case of a problem, click on it.
In the drop-down menu, approximately in the middle, there is a line “Force terminate“, We also need it. And then the already familiar window opens with a list of currently running applications – what to do, you already know, the buggy enemy will be quickly defeated.
♥ BY TOPIC: Clean install macOS, or how to reinstall (restore factory settings) Mac.
Method number 3 – forcibly closing the program from the Dock
We find on the panel below (in the Dock) the shortcut of the frozen program, hold down the button ⌥Option (Alt) and make a right click with the mouse – a special service menu will open.
One of the items in the menu that opens is the forced completion, further steps are obvious.
♥ BY TOPIC: How to quickly open recently closed tabs in Safari on Mac – three ways.
Method number 4 – using the Terminal
The transition from a windowed interface to a console one, a more complex level of interaction with macOS in case the problem turned out to be serious and the previous methods did not bring results. The system utilities directory contains the program Terminal – find it and launch it. In the window that opens, we type the command “top“And press the enter key – this is how we instruct the computer to generate and display a short report on its current state. Including reporting on what programs are running and how they behave.
Among all the variety of symbols, we are interested in the column entitled “Command», The names of the currently running applications are printed here. It is required to manually find the stuck, while it is worth considering that abbreviations are used for long names – attentiveness will not hurt.
Next to the name of the desired program is its digital PID (system identifier) - that’s what we need. In the old fashioned way, we copy it into a notebook or, in step with the times, we take pictures with the iPhone camera.
Press the key “q“- this command closes the list and moves the cursor to an empty line, the system is ready to receive new instructions and deal with the problematic application.
This is done by the sonorous command “kill“, After which, after a space, write the offender’s PID. In this case it is Viber and 403, so the final version looks like “kill 403”.
Click “Enter“- the job is done, but if the system does not react, you can tighten the order by typing the following command”sudo kill -9 403”Should help.
♥ BY TOPIC: How to hide files and folders on Mac (macOS) from strangers: 3 ways.
Method number 5 – using the System Monitoring utility
In this case, this system tool for advanced users can be perceived simply as an extended version of the menu with a list of running programs. The utility icon is located in the same place as Terminal – find and run the program.
The opened extensive list should not scare you, we look for it in the column “Process name»Our frozen application and select it with a mouse click.
At the top left there is a button “End the process“- this is exactly what it does, unloading software from memory and freeing up system resources on the Mac.