fori(ip): ssh -n -T $ip/$hostname 'ps -ef|grep ${your process}|awk '{print $2}|xargs kill -9 && rm ${your data's path}' ssh ${your master machine} '${run restart.sh}'