LoginSignup
21

More than 5 years have passed since last update.

posted at

updated at

バックグラウンドで動作するNode.jsプロセスを停止させる

現在動作しているNodeプロセスのプロセスIDを調べる

$ ps -e | grep node | awk '{print $1}'

プロセスIDが表示されます

(例) 30098

プロセスを停止させる

$ kill -9 [プロセスID]

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
What you can do with signing up
21