github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/bench/tools/aisloader-composer/get_cluster_info.sh (about) 1 #!/bin/bash 2 3 if [ -z "$1" ]; then 4 echo "Error: AIS endpoint URL not provided." 5 echo "Usage: ./get_cluster_info.sh <ais_endpoint_url>" 6 exit 1 7 fi 8 9 export AIS_ENDPOINT="$1" 10 ais show cluster > output/cluster_details.txt 11 echo -e "\nExporting cluster details to output/cluster_details.txt\n"