View Single Post
Old 16th August 2008
bigb89 bigb89 is offline
Fdisk Soldier
 
Join Date: May 2008
Posts: 69
Default

Thanks for all the replies guys!

Yes, I have heard that nmap could be the way to go on this. I'll definitely check it out. In the mean time, I have read a little on ping man page, and I have done a couple of google searches where I came across the following things than may help me on starting this script:

1) You can use the -c option to determine the amount requests you want ping to send.
2) Ping returns 1 if no replies are received.

In the end, arch's script is doing almost exactly what I need using the above useful information that I found. That, script may be simple, but in the end it does what it needs to do .

I'll be looking into nmap or any other solutions, and I'll even be trying out your script arch (if that's OK with of course).

The only thing that still concerns me, is if ping is blocked in the firewall of certain host. That's where I guess nmap will come in handy.
Reply With Quote