1

起動したエンジンを停止するにはどうすればよいですか: ipcluster engines --n=8 --daemonize

現在実行中のプロセスは次のようになります。

/usr/bin/python /usr/local/bin/ipcluster engines --n=8 --daemonize
/usr/bin/python -m IPython.parallel.engine --profile-dir /home/ubuntu/.ipython/profile_default --cluster-id  --log-to-file --log-level=20

走りたくないkillall python

4

1 に答える 1

1

クライアントから、以下を呼び出すことができますshutdown:

import IPython.parallel as ipp
rc = ipp.Client()
# shutdown specific engines
rc.shutdown([1, 5])
# shutdown all engines:
rc.shutdown()
# shutdown everything, including the Hub
rc.shutdown(hub=True)
于 2015-06-19T17:50:07.557 に答える