jupyter notebookをターミナルから落とす方法

技術

目次

はじめに

ssh等でリモートサーバーにアクセスし、jupyterを起動したまま束の間の休息zzz、、、(笑)。気がつけば接続が切れている!なんてことがあるかと思います。 この場合、サーバー側でプロセスが生きているため、止める必要があります。
そんな時の対処法がこちら。

対処法

下記のコマンドで実行中のサーバーの一覧が出るので、停止させたいサーバーのポート番号をチェックします。

  $ jupyter notebook list

下記のコマンドで停止させます!

  $ jupyter notebook stop 8888 <-ポート番号

関連記事

カテゴリー
アーカイブ

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny