ray/scripts/stop_ray.sh
Robert Nishihara f1d4dda8cb Put all log files in redis and visualize them in UI. (#350)
* Start process for monitoring log files and push changes to redis.

* Display log files in UI.

* Bug fix for recent tasks.

* Use flatbuffers to parse local scheduler heartbeats.
2017-03-16 15:27:00 -07:00

21 lines
775 B
Bash
Executable file

#!/usr/bin/env bash
killall global_scheduler plasma_store plasma_manager local_scheduler
# Find the PID of the monitor process and kill it.
kill $(ps aux | grep monitor.py | awk '{ print $2 }') 2> /dev/null
# Find the PID of the Redis process and kill it.
kill $(ps aux | grep redis-server | awk '{ print $2 }') 2> /dev/null
# Find the PIDs of the worker processes and kill them.
kill $(ps aux | grep default_worker.py | awk '{ print $2 }') 2> /dev/null
# Kill the processes related to the web UI.
killall polymer
# Find the PID of the Ray UI backend process and kill it.
kill $(ps aux | grep ray_ui.py | awk '{ print $2 }') 2> /dev/null
# Find the PID of the Ray log monitor process and kill it.
kill $(ps aux | grep log_monitor.py | awk '{ print $2 }') 2> /dev/null