虽然Mac(Mac)上的大多数应用程序以其稳定性而著称,因此永远不会引起任何问题,但任何时候都可能出现问题,并且这些应用程序可能会在您的计算机上开始出现异常行为。在这种情况下,即使是关闭应用程序的默认选项也将停止运行。
应用程序无响应的一些常见症状包括应用程序不响应您的操作、即使您拖动窗口也不会消失以及其他令人讨厌的行为。
当应用程序在Mac上无响应时,最好的办法是强制该应用程序退出。Mac的操作系统内置了多种方法来帮助您强制退出机器上的应用程序(force quit apps on your machine)。这些方法会终止无响应的应用程序,因此它们不再阻止您使用计算机上的其他应用程序。
(Force Quit Apps)使用 Apple 对话框强制退出应用程序
关闭Mac(Mac)上无响应的应用程序的最简单方法之一是使用机器上的内置强制关闭对话框。您的Mac具有此功能,它会列出您
Mac上所有打开的应用程序。然后,您可以选择要强制退出的应用程序,它会为您完成工作。
有两种方法可以在Mac(Mac)上访问此对话框。您可以使用组合键,也可以使用Apple菜单调出对话框。
要从Apple(Apple)菜单打开对话框,只需单击屏幕左上角的Apple标志,然后在应用程序窗口内选择强制退出。(Force Quit)
要使用组合键访问对话框,请同时按Command + Option + Esc键。对话框将打开。
您将找到Mac上所有正在运行的应用程序的列表。选择无响应且您想强制退出的应用程序,然后单击“强制退出(Force Quit)”按钮。
所选应用程序或应用程序将在您的Mac上强制关闭。
(Force Quit Current App)使用键盘快捷键强制退出当前应用程序
上述方法可让您强制退出(force quit any of the running apps)Mac上任何正在运行的应用程序。但是,如果您只想强制退出您当前所在的应用程序,您可以在不打开Mac(Mac)上的强制退出对话框的情况下执行此操作。
当您在应用程序窗口内时,同时按键盘上的
Command + Option + Shift + Esc键。它将强制退出您当前在Mac上使用的应用程序。
请记住,键盘快捷键不会要求您允许关闭应用程序。因此,如果您有任何未保存的工作并且应用程序允许您保存它,请在按下键盘快捷键退出应用程序之前执行此操作。
从 Dock 强制关闭应用程序
这也很容易使用,您可以通过单击一个选项来关闭您的应用程序强制。那些喜欢使用Dock启动和管理应用程序的人会喜欢这种方法。
在Mac上的(Mac)Dock中找到您想要强制关闭的应用程序。
找到应用程序后,按住键盘上的Option键,右键单击Dock中的应用程序,然后单击显示Force Quit的选项。
Dock将强制关闭Mac上选定的应用程序。同样(Again),您不会收到提示,因此请确保您没有关闭未保存工作的应用程序。
使用活动监视器(Use Activity Monitor)杀死您的应用程序
(Activity Monitor)Mac上的活动监视器就像Windows PC上的任务管理器。它使您可以查看计算机上所有正在运行的应用程序及其进程。要使用该实用程序终止应用程序,您需要做的就是找到相关应用程序的进程,然后终止它。
终止进程将强制关闭Mac(Mac)上的应用程序。以下是您在机器上执行此操作的方法。
在Mac(Mac)上使用您喜欢的方式启动活动监视器(Activity Monitor)。
当它启动时,确保您位于CPU选项卡中。从屏幕上的应用程序列表中,找到并双击要强制关闭的应用程序。或者,您可以从列表中选择一个应用程序,然后单击顶部的X图标。(X)
屏幕上将打开一个对话框。单击(Click)底部的退出(Quit)按钮。
单击以下屏幕上的强制退出以强制关闭(Force Quit)Mac上的应用程序。
活动监视器(Activity Monitor)确保应用程序的进程终止,因此应用程序不再在您的计算机上保持活动状态。
强制(Force)应用程序(App)从
终端退出(Terminal)
如果您喜欢从终端(Terminal)完成任务,您会很高兴知道您也可以从您最喜欢的命令行编辑器中强制关闭应用程序。
您可以从
终端运行一个命令来杀死(Terminal)Mac上任何正在运行的应用程序。
您需要做的第一件事是找到要强制关闭的应用程序的PID 。在Mac(Mac)上启动Terminal应用程序,输入以下命令,然后按 Enter(Enter)。
最佳(top)
您将获得系统上所有正在运行的进程的列表。查看COMMAND列并找到您要强制退出的应用程序。然后记下应用名称旁边的PID编号。(PID)
按键盘上的q键退出进程列表。然后输入以下命令,将PID替换为您要关闭的应用程序的实际PID ,然后按(PID)Enter。
杀死PID( kill PID)
终端(Terminal)将在您的Mac上终止输入的PID匹配的应用程序。
5 Ways To Force Quit Apps On Your Mac
While most apрs on your Mac will nevеr cause
any issues as they arе known for their stability, things could go wrong at any
time and the apps may ѕtart misbehaving on your machine. In such cases, even
the default оptіons to close an app will stop funсtioning.
Some of the common symptoms of an unresponsive
app include the app not responding to your actions, not going away even when
you drag the windows, and other nasty behavior.
The best thing to do when an app becomes unresponsive on your Mac is to force the app to quit. There are several ways built into the operating system of your Mac to help you force quit apps on your machine. These methods terminate the unresponsive apps so they no longer prevent you from working with the other apps on your machine.
Force Quit Apps With The Apple
Dialog Box
One of the easiest ways to close unresponsive
apps on your Mac is to use the built-in force close dialog box on your machine.
Your Mac comes with this feature where it lists out all the open apps on your
Mac. You can then pick the apps you want to force quit and it will get the job
done for you.
There are two ways to access this dialog box
on your Mac. Either you can use a key combination or you can use the Apple menu
to bring up the dialog box.
To open the dialog box from the Apple menu, simply click on the Apple logo at the top-left corner of your screen and select Force Quit while you’re inside an app window.
To access the dialog box with a key combination, press the Command + Option + Esc keys at the same time. The dialog box will open.
You’ll find a list of all running apps on your Mac. Choose the app that is unresponsive and you want to force quit, and click on the button that says Force Quit.
The chosen app or apps will be forcibly closed
on your Mac.
Force Quit Current App With A
Keyboard Shortcut
The above method lets you force quit any of the running apps on your Mac. But if you would like to only force quit the app you are currently in, you can do so without opening the force quit dialog box on your Mac.
While you are inside the app window, press the
Command + Option + Shift + Esc keys
at the same time on your keyboard. It will force quit the app you are currently
in on your Mac.
Keep in mind the keyboard shortcut won’t ask
for your permission to close the app. So if you have any unsaved work and the
app allows you to save it, then do so before hitting the keyboard shortcut to
quit the app.
Force Close Apps From The Dock
This one’s also easy to use and you can have
your app force closed with the click of an option. Those of you who love using
the Dock to launch and manage apps are going to like this method.
Find the app that you want to force close in the Dock on your Mac.
Once you’ve found the app, hold down the Option key on your keyboard, right-click on the app in the Dock, and click on the option that says Force Quit.
The Dock will force close the selected app on your Mac. Again, you won’t get a prompt so make sure you aren’t closing an app where you have your work unsaved.
Use Activity Monitor To Kill Your
Apps
Activity Monitor on a Mac is like the Task
Manager on a Windows PC. It lets you view all the running apps as well as their
processes on your machine. To use the utility to kill an app, all you need to
do is find the process that is for the app in question and then kill it.
Killing the process will force close the app
on your Mac. Here’s how you go about doing it on your machine.
Launch the Activity Monitor using your preferred way on your Mac.
When it launches, ensure you’re in the CPU tab. From the list of apps on your screen, find and double-click on the one that you want to force close. Alternatively, you can select an app from the list and click on the X icon at the top.
A dialog box will open on your screen. Click on the button that says Quit at the bottom.
Click on Force Quit on the following screen to force close the app on your Mac.
Activity Monitor ensures the process for the app is terminated so the app no longer remains active on your machine.
Force An App To Quit From The
Terminal
If you’re someone who enjoys getting tasks done from the Terminal, you’d be glad to know that you can force close apps as well from your favorite command line editor.
There’s a command you can run from the
Terminal to kill any running app on your Mac.
The first thing you’ll need to do is find the PID of the app you want to force close. Launch the Terminal app on your Mac, type in the following command, and hit Enter.
top
You’ll get a list of all the running processes on your system. Take a look at the column that says COMMAND and find the app you want to force quit. Then note down the PID number next to the app name.
Press q key on your keyboard to quit the processes list. Then type in the following command replacing PID with the actual PID of the app you want to close and press Enter.
kill PID
The Terminal will kill the app that the
entered PID matches to on your Mac.