61
54

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

プロセスの強制終了 メモ

Last updated at Posted at 2017-06-10

ターミナルでコマンド実行したときに
Control+cでプロセスを終了できない時に使える強制終了の手順

###プロセス停止
とりあえず、Control+zでプロセスを停止させる。

###プロセスID取得
次にpsコマンドで強制終了させたいプロセスのプロセスIDを確認
$ ps auxww | grep ファイル名

###強制終了
プロセスIDを取得できたら、killコマンドで強制終了する。
$ kill -9 プロセスID

終わり。

61
54
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
61
54

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?