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.
6 lines
232 B
6 lines
232 B
#/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 | cut -d ' ' -f 2
|
|
|
|
|