Bill Campbell escribió:
On Mon, Jul 28, 2008, Gopinath Achari wrote:
hi,
how to write a scripts which launches 10 pings to different
destinations at execution of single shell scripts
please help me any ideas
If your goal is to test connectivity, you might look at the perl Net::Ping module. ``perldoc Net::Ping'' has several examples of checking one or more systems to see if they are alive.
BTW: Anybody know of a python equivalent to this?
Bill
Hello,
I have done something before with nmap -sP <target> time ago. Later you can grep the response to know whether an IP address is alive or not.
Hope it helps,