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

.hazelcast.4.0.1.source-code.stop-all.sh Maven / Gradle / Ivy

There is a newer version: 5.5.0
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