From 92145892a05ed691dadfa00cd6324c8e797303b9 Mon Sep 17 00:00:00 2001 From: Aaron Chu Date: Fri, 20 Dec 2019 01:00:37 -0800 Subject: [PATCH] Update startup.sh --- skyhookdmpy/startup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/skyhookdmpy/startup.sh b/skyhookdmpy/startup.sh index 20b7b9d..6d6545c 100644 --- a/skyhookdmpy/startup.sh +++ b/skyhookdmpy/startup.sh @@ -2,4 +2,6 @@ pkill screen sleep 1 screen -d -m dask-scheduler --host localhost screen -d -m dask-worker localhost:8786 --nthreads 20 -echo "SkyhookDM started!" +ps -C dask-scheduler >/dev/null && echo "dask-scheduler is running." || echo "ERROR:dask-scheduler is not running!" +ps -C dask-worker >/dev/null && echo "dask-worker is running." || echo "ERROR:dask-worker is not running!" +echo "Done!"