All Downloads are FREE. Search and download functionalities are using the official Maven repository.

services.hazelcast-all.1.1.0.1-jre15.source-code.stop-all.sh Maven / Gradle / Ivy

There is a newer version: 62
Show newest version
#!/bin/sh

#### This script kills all the instances started with start.sh script.

PIDS=$(pgrep -f HazelcastMemberStarter)

if [ -z "$PIDS" ]; then
  echo "No Hazelcast IMDG member found to stop"
  exit 1
else
  kill -s TERM $PIDS
  echo "Stopped Hazelcast instances with the following PIDs:"
  echo "$PIDS"
fi




© 2015 - 2024 Weber Informatics LLC | Privacy Policy