Files
ray/scripts/stop_ray.sh
T
2017-01-19 20:27:46 -08:00

10 lines
340 B
Bash
Executable File

#!/usr/bin/env bash
killall global_scheduler plasma_store plasma_manager photon_scheduler
# 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