How to kill a program or process in OS X Wie zu töten, ein Programm oder Prozess in OS X

by Ross McKillop on June 4, 2007 von Ross McKillop am 4. Juni 2007

Mac

The following tutorial will show you how to kill programs/processes in OS X. Die folgende Anleitung zeigt Ihnen, wie Sie töten Programme / Prozesse in OS X.

Use the following information very carefully. Verwenden Sie die folgenden Informationen sehr sorgfältig durch. Killing processes in OS X can cause system instability and full scale OS crashes. Killing Prozesse in OS X kann zu einer Instabilität des Systems und die vollständige Skala OS abstürzt. With that said, this tutorial will show you how to ‘quit’ a program or process when it’s not listed in the dock, “Force Quit” menu etc. Mit diesem gesagt hat, dieses Tutorial zeigt Ihnen, wie Sie 'quit' ein Programm oder Prozess, wenn er sich nicht in das Dock, "Sofort beenden"-Menü etc.

  1. Typically when you’re looking to force something to quit, it’s because the program or process is eating up a ton of CPU. Normalerweise, wenn Sie zu zwingen, etwas zu beenden, dann deshalb, weil das Programm oder Prozess ist Essen eine Tonne CPU. To identify the program/process, open an OS X terminal by going into your Applications -> Utilities and selecting Terminal . Um herauszufinden, welches Programm / Prozess, öffnen Sie ein OS X-Terminal, indem Sie in Ihren Anwendungen -> Utilities und Auswahl-Terminal. Once a terminal has opened, you can get a list of the running programs by entering the command top . Sobald ein Terminal geöffnet hat, können Sie eine Liste der laufenden Programme durch Eingabe des Befehls top.
  2. Anfang Befehl in einem Terminal-osx
    click to enlarge Zum Vergrößern anklicken

  3. To quit the top program simply hit the q key on your keyboard. So beenden Sie die Top-Programm Einfach auf die Q-Taste auf Ihrer Tastatur. As seen above, the default “sorting” for the top command is by PID (Process ID). Wie oben gesehen, die Standard-"Sortierung" für die Top-Befehl ist durch PID (Process ID). Since this doesn’t always help identify which program is hogging your CPU, run top with the following string: top -o cpu Da dies nicht immer helfen, herauszufinden, welche Programm ist hogging Ihre CPU, laufen nach oben mit den folgenden String: top-o cpu

    That will launch top and sort the processes by which ones are using the most CPU. Das wird oben und Art der Prozesse, durch welche die Verwendung der meisten CPU. In the example below you’ll see that top itself is actually using the most CPU. In dem Beispiel unten werden Sie sehen, dass selbst nach oben ist eigentlich mit den meisten CPU.

  4. Anfang Befehl in einem Terminal osx sortiert nach cpu
    click to enlarge Zum Vergrößern anklicken

  5. Again, hit the letter q to quit top . Auch hier klicken Sie auf den Brief zu beenden q Spitze. If you’ve identified the program you want to end, make note of it’s PID . Wenn Sie identifiziert das Programm, das Sie beenden wollen, notieren Sie sich seine PID. In the screenshot below I’m using MozyBackup as my example, and it has a PID of 1488 Im Screenshot unten Ich verwende MozyBackup wie mein Beispiel, und es verfügt über eine PID von 1488
  6. Anfang Befehl in einem Terminal osx sortiert nach cpu
    click to enlarge Zum Vergrößern anklicken

  7. To quit MozyBackup, enter the command kill -9 1488 . MozyBackup zu beenden, geben Sie den Befehl kill -9 1488. Broken down, that’s kill (the command to ‘kill’ a program) -9 (the “non-catchable, non-ignorable kill” - basically it means kill this program no matter what) and 1488 (the PID that you want killed). Broken down, that's kill (den Befehl zum "Kill 'ein Programm) -9 (die" Nicht-catchable, nicht ignorable kill "- im Grunde bedeutet es, dieses Programm zu töten, egal was) und 1488 (die PID, die Sie wollen Tote).
  8. Tötung Prozesse im Terminal osx
    click to enlarge Zum Vergrößern anklicken

  9. As you’ll see in the above screenshot, I was unable to kill the PID 1488. Wie sehen Sie in der obigen Screenshot, ich war nicht in der Lage zu töten die PID 1488. That’s because the program in question wasn’t owned (being run) by me - rather, it was being run by the root user. Das liegt daran, dass das Programm in Frage war nicht im Besitz (in Lauf) von mir - besser gesagt, es wurde von der "root"-Benutzer. To get around this, and use this command with care , enter sudo kill -9 1488 . Um dies zu umgehen, und verwenden Sie diesen Befehl mit Vorsicht, geben Sie sudo kill -9 1488. You’ll be asked for your password, and after entering it, the process 1488 will be killed. Sie werden aufgefordert, Ihr Passwort, und nach Eingabe es, den Prozess 1488 werden getötet.
  10. Tötung Prozesse im OS X Terminal
    click to enlarge Zum Vergrößern anklicken

  11. For detailed information on the top and kill programs, enter man top or man kill from the terminal to view the manual pages for each program. Für detaillierte Informationen zu den Top-Programmen und zu töten, geben Sie Mann oben oder von Menschen töten aus dem Terminal, um die manuelle Seiten für jedes Programm.
Related Posts: Verwandte Beiträge:
  • How to get detailed information on each running process in Windows Wie bekommt man detaillierte Informationen über jeden laufenden Prozess in Windows
  • How to allow a program through the Windows Vista Firewall Wie kann man von einem durch ein Programm der Windows Vista-Firewall
  • Did you know.. Wussten Sie, .. How to use your favorite email program with Gmail So verwenden Sie Ihren bevorzugten E-Mail-Programm mit Gmail
  • How to keep any Windows program “always on top” Wie man jedem Windows-Programm "Immer im Vordergrund"
  • How to automatically launch programs when OS X starts Wie kann ich automatisch Programme starten, wenn OS X startet
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Holen Sie sich Einfache Hilfe Tutorials genau wie diese in Ihrem E-Mail-Posteingang jeden Tag - und das gratis! Just enter your email address below: Geben Sie einfach Ihre E-Mail-Adresse unten ein:

    You can always opt out of this email subscription at any time. Sie können jederzeit Opt-out in dieser E-Mail-Abonnement ist jederzeit möglich.

    { 1 trackback } (1) trackback

    Kill command on OS X at Rage on Omnipotent Kill-Befehl unter OS X in Rage über Omnipotent
    10.17.07 at 5:17 am 10.17.07 auf 5:17 Uhr

    { 0 comments… (0 Kommentare… add one now fügen Sie jetzt ein } )

    Leave a Comment Schreibe einen Kommentar

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Sie können diese HTML-Tags und Attribute: <a href= title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>