Pinging All the Nodes Connected to the Server
I want to write a ShellScript file which runs on the Server and does the followings:
1) Get info, IP or Machine Name mainly, of all the nodes connected to the server.
2) Ping each of them one by one.
So, the main problem which I am having is how to get this info as to how many IPs are present there so that they can be pinged?
I have this Pseudo Code for it:
Any creative ideas?
I am not a big expert, but did you had a look at nmap?
I think the nmap -sP <ip address rang> do just what you need.
|All times are GMT -5. The time now is 01:20 AM.|