milvus/scripts/stop.sh
dragondriver 7e1887da12 Add start.sh and stop.sh, remove them later
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-02-05 14:31:40 +08:00

30 lines
766 B
Bash
Executable File

echo "stopping masterservice"
kill -9 $(ps -e | grep masterservice | awk '{print $1}')
echo "stopping proxyservice"
kill -9 $(ps -e | grep proxyservice | awk '{print $1}')
echo "stopping proxynode"
kill -9 $(ps -e | grep proxynode | awk '{print $1}')
echo "stopping queryservice"
kill -9 $(ps -e | grep queryservice | awk '{print $1}')
echo "stopping querynode"
kill -9 $(ps -e | grep querynode | awk '{print $1}')
echo "stopping dataservice"
kill -9 $(ps -e | grep dataservice | awk '{print $1}')
echo "stopping datanode"
kill -9 $(ps -e | grep datanode | awk '{print $1}')
echo "stopping indexservice"
kill -9 $(ps -e | grep indexservice | awk '{print $1}')
echo "stopping indexnode"
kill -9 $(ps -e | grep indexnode | awk '{print $1}')
echo "completed"