You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#/bin/sh
|
|
|
|
|
|
|
|
#ip=`nslookup hybrid-mpi_master_1.hybrid-mpi_hybrid-mpi | grep Addr | cut -d':' -f2 | grep -v 127.0.`
|
|
|
|
ip=`nslookup $NODENAME | grep Addr | cut -d':' -f2 | grep -v 127.0.`
|
|
|
|
nmap -sn -oG - $ip/24 | grep Up | grep $NODENETWORK | cut -d ' ' -f 2
|
|
|
|
|