April 19, 2024
Comment quitter une application quand Forcer à Quitter ne marche pas

Comment quitter une application quand Forcer à Quitter ne marche pas

Posted November 26, 2009 at 3:04pm by iClarified
EnglishFrench
Ces instructions servent à quitter une application Mac qui ne répond plus. Vous pouvez avoir à utiliser cette manipulation lorsqu'une de vos applications a cessé de répondre et qu'elle ne peut être fermée de manière conventionnelle.
Assurez-vous d'avoir auparavant essayé l'option Forcer à Quitter these.

Première étape
Dans le dossier Applications/Utilitaires, ouvrez Terminal.
Comment quitter une application quand Forcer à Quitter ne marche pas

Seconde étape
Une fois l'application Terminal lancée, exécutez la commande top puis pressez la touche Entrer.
Comment quitter une application quand Forcer à Quitter ne marche pas


Troisième étape
Une liste des processus (Applications) en cours d'utilisation est affichée. A chacun d'eux correspond un PID. Repérez celui qui correspond à l'application que vous voulez quitter et notez son PID.
Comment quitter une application quand Forcer à Quitter ne marche pas

Si vous ne voyez pas votre application dans la liste, agrandissez la fenêtre en l'étirant par le coin en bas à droite.
Comment quitter une application quand Forcer à Quitter ne marche pas

Une fois le PID trouvé, quittez top en appuyant sur la touche q.
Comment quitter une application quand Forcer à Quitter ne marche pas

Quatrième étape
Entrez kill suivi du PID précédemment trouvé. Par exemple, si vous voulez fermer l'application uTorrent, top vous aura informé que son PID était 38209. Ainsi, en entrant kill 38209 et en validant avec la touche Entrer l'application sera fermée.
Comment quitter une application quand Forcer à Quitter ne marche pas

Cinquième étape
L'application a été forcée de s'arrêter et n'est plus en cours d'exécution.
Comment quitter une application quand Forcer à Quitter ne marche pas

Comment quitter une application quand Forcer à Quitter ne marche pas
Add Comment
Would you like to be notified when someone replies or adds a new comment?
Yes (All Threads)
Yes (This Thread Only)
No
iClarified Icon
Notifications
Would you like to be notified when we post a new Apple news article or tutorial?
Yes
No
Comments (8)
You must login or register to add a comment...
Kuro Titania
Kuro Titania - April 25, 2015 at 2:15am
Im trying to close uTorrent with the same method but it won't show up on "top" when it is clearly in dock and refuses me to log off my mac because it is "in use" when i can't even open the app myself anymore because of all the attempts to delete it.
shahad
shahad - June 9, 2016 at 3:24am
did you solve this problem ? cause i have the same issue now and i dont know how to solve it :( i cant find utorrent on "top" !
eliezer frank
eliezer frank - June 22, 2016 at 4:49am
I'm having the same exact problem now with iTunes its not showing up in top does anyone know what to do?????
Erin
Erin - March 6, 2010 at 2:08am
Thanks for this but I am trying to close damn Carbonite and cannot force quit... cannot trashi it because it is running. After trying this it said "not permitted" Is there a way around that? I will go try the 9 part now.
Ari Weinstein
Ari Weinstein - January 23, 2010 at 4:41pm
Is there any reason to look up the PID yourself and use kill? Why not just use killall instead? For example, "killall Safari" will kill Safari. Also, I find that force quitting three times in a row seems to do something more than just force quitting once, and will get rid of just about any frozen app. If that doesn't work, a regular killall probably won't suffice either, so I have to resort to -9, as in "killall -9 Safari", which will kill it basically no matter what.
Paddy
Paddy - August 31, 2014 at 12:28am
Thanks for killall Appname solution Loved that one. I had FreeMemory running, would not show up in Forcequit, wold not show up in top option or was unidentifiable by me. Hover cursor showed spinning wheel, app not in bottom bar and not shown in all windows. Killall app found and stopped the app - so once again thanks
Owen Densmore
Owen Densmore - November 27, 2009 at 1:30pm
Most of the kill stunts I've known about but one is really illusive: what happens when the window manager freezes. You can't get at a terminal and you can't get at the Force Quit menus or application. Once I hit the power-off button and it came up with the "are you sure" dialog, and that revived the window system to get on with, whew! But often I have to resort to the old "hold the power button for 5 seconds" solution. When I ran into that problem at Sun where I worked for years, you had a friend remote login to your system and kill the process from their system. But I see no work-any-time solution for the Mac, alas. Sigh!
nerd
nerd - November 26, 2009 at 3:45pm
kill has options. option -9 is force and sometimes necessary hence: kill -9 123456
Recent. Read the latest Apple News.
RECENT
Tutorials. Help is here.
TUTORIALS
Where to Download macOS Monterey
Where to Download macOS Ventura
AppleTV Firmware Download Locations
Where To Download iPad Firmware Files From
Where To Download iPhone Firmware Files From
Deals. Save on Apple devices and accessories.
DEALS