How to kill a program or process in OS XどのようにプログラムやOS Xでプロセスを殺すために

by Ross McKillop on June 4, 2007 ロス McKillop 2007年 6月 4 日にで

マック

The following tutorial will show you how to kill programs/processes in OS X.チュートリアルは、以下の方法のプログラムを殺すために/プロセスMac OS Xで表示されます

Use the following information very carefully.非常に慎重には、次の情報を使用します。 Killing processes in OS X can cause system instability and full scale OS crashes. OS Xでプロセスを殺すシステムが不安定とフルスケールのOSがクラッシュする原因となります。 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.そうは言うものの、このチュートリアルをどのように' 'は、プログラムやプロセスの際には、ドックで、 "強制終了"メニューが表示されないなどの終了することが表示されます

  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.これは、プログラムやプロセスのCPUの一トンを食べている一般的に終了したときに何かを強制的に検討している、それは。 To identify the program/process, open an OS X terminal by going into your Applications -> Utilities and selecting Terminal .このプログラムを特定するには/プロセス、お客様のアプリケーションに入るのは、 『マックOS X ターミナルを開く->ーティリティとターミナルを選択します。 Once a terminal has opened, you can get a list of the running programs by entering the command top .一度、ターミナルを開設している場合は、 topコマンドを入力して、実行中のプログラムのリストを取得することができます
  2. 一OSXのターミナルでトップのコマンド
    click to enlargeクリックして拡大する

  3. To quit the top program simply hit the q key on your keyboard.へ戻るプログラムを単にキーボード上にQキーを押して終了します。 As seen above, the default “sorting” for the top command is by PID (Process ID).上記のように見られるように、デフォルトの" "へ戻るコマンドのソート PID ( プロセス ID )をすることです。 Since this doesn’t always help identify which program is hogging your CPU, run top with the following string: top -o cpu以来、このプログラムは、常にお客様のCPUを、上位は、以下の文字列で実行:トップまたはCPUのオーバーです 、識別しやすくしていません

    That will launch top and sort the processes by which ones are using the most CPU.その上で開始すると、ほとんどのCPUを使用しているものは、そのプロセスを並べ替える。 In the example below you’ll see that top itself is actually using the most CPU.以下の例では、 トップ自体は実際にはほとんどのCPUを使用していますが表示されます。

  4. 一OSXの端末のCPUでソートのトップコマンド
    click to enlargeクリックして拡大する

  5. Again, hit the letter q to quit top .繰り返しますが、トップを終了するには、文字qを打った If you’ve identified the program you want to end, make note of it’s PID .もし終了するプログラムを作ることに注意してくださいpidを発見した In the screenshot below I’m using MozyBackup as my example, and it has a PID of 1488下のスクリーンショットでは私は私の例のようMozyBackupを使用していると、 1488のは、 PIDしている
  6. 一OSXの端末のCPUでソートのトップコマンド
    click to enlargeクリックして拡大する

  7. To quit MozyBackup, enter the command kill -9 1488 . MozyBackup 、 -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).ブロークンダウンは、 ' ' プログラム) -9を殺すために(コマンドを殺すの(以下、 "非、非捕捉-無視を殺す" -基本的にこのプログラムに関係なく使用するもの) 、 1 488( P IDを殺すことを意味死亡) 。
  8. OSXのターミナルでは、プロセスを殺す
    click to enlargeクリックして拡大する

  9. As you’ll see in the above screenshot, I was unable to kill the PID 1488.の場合は、上記のスクリーンショットを参照してくださいよ、私は、 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.が、問題のプログラム( )私が運営している-という所有していたが、それはr ootユーザで実行さていた。 To get around this, and use this command with care , enter sudo kill -9 1488 .は、これを回避するにと注意をもってこのコマンドを使用すると 、 sudoを殺す-9 1488入力してください You’ll be asked for your password, and after entering it, the process 1488 will be killed.あなたのパスワードの入力を、入力後のよう尋ねられるでしょうが、このプロセス1488 殺されるだろう。
  10. は、 OSのX端末のプロセスを殺す
    click to enlargeクリックして拡大する

  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.へ戻る殺すプログラムに関する詳細な情報と、男上部または端末から、各プログラムのマニュアルページを表示するには殺す男を入力してください。
Related Posts: 関連記事:
  • How to get detailed information on each running process in WindowsどのようにWindowsの各実行中のプロセスに関する詳細な情報を取得する
  • How to reset a lost MySQL root passwordどのように失われたMySQLのrootのパスワードをリセットする
  • How to allow a program through the Windows Vista Firewall方法は、 Windows Vistaのファイアウォール経由でプログラムを許可する
  • How To Turn Any Video File Into A DVD Player Playable Disc DVDプレーヤー再生ディスクにはどのように変わるすべてのビデオファイル
  • Did you know..あなたの知ってた.. How to use your favorite email program with Gmail Gmailとどのようにお好みのメールプログラムを使用するように
  • Get Simple Help tutorials just like this one in your email inbox every day - for free!お客様のメールの受信ボックスに毎日-無料で、この1つだけのような簡単なヘルプのチュートリアルを入手! Just enter your email address below:すぐ下にあなたのメールアドレスを入力してください:

    You can always opt out of this email subscription at any time.いつでも、いつでも、このメール購読のオプトアウトすることができます。


    Bookmark and Share ブックマークして共有する

    { 1 trackback }トラックバック 1

    Kill command on OS X at Rage on Omnipotent OS Xでぜんのうでレイジatコマンドを殺し
    10.17.07 at 5:17 am 10.17.07で午前5時17分

    { 1 comment… read it below or 1のコメントを読む...または下に add one 1つ追加 }

    1 1 Jaime King 09.24.08 at 6:52 pm ハイメキング 09.24.08午後6時52分

    Thank you so much I spent a LONG time trying to figure out why my macbook was running so slow and the fan was on full blast.なぜそんなに私のMacBookのようにゆっくり走っていたし、ファンを理解しようとしているのに長い時間を費やし、ありがとうございますいっぱいだった。 I wish I had seen this site before i talked to that clueless tool on Apple’s tech support line私の前に私はアップル社の技術サポートラインでは、無知なツールに話を聞いた私はこのサイトを見ていた希望

    Leave a Commentコメントを残しなさい

    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> これらのHTMLタグ属性:の<a href=""使用することができますtitle=""> <abbr title=""> <acronym title=""> <b>ダウンロード<blockquote cite=""> <cite>の<code> <del datetime="">の<em> <i> <q cite=""> <strike> <strong>