Comment quitter une application quand Forcer à Quitter ne marche pas
LIKE
TWEET
SHARE
PIN
SHARE
POST
MAIL
MORE
Posted November 26, 2009 at 3:04pm by iClarified
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.
Seconde étape Une fois l'application Terminal lancée, exécutez la commande top puis pressez la touche Entrer.
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.
Si vous ne voyez pas votre application dans la liste, agrandissez la fenêtre en l'étirant par le coin en bas à droite.
Une fois le PID trouvé, quittez top en appuyant sur la touche q.
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.
Cinquième étape L'application a été forcée de s'arrêter et n'est plus en cours d'exécution.
Add Comment
Would you like to be notified when someone replies or adds a new comment?
Yes (All Threads)
Yes (This Thread Only)
No
Notifications
Would you like to be notified when we post a new Apple news article or tutorial?
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.
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.
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.
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
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!