[CentOS] Shell script - ping
Lorenzo Martínez Rodríguez
Lawwait at yahoo.esMon Jul 28 17:06:29 UTC 2008
- Previous message: [CentOS] Shell script - ping
- Next message: [CentOS] Re: Shell script - ping
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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, -- Lorenzo Martínez Rodríguez Consultor de seguridad informática -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080728/1c77ab9e/attachment-0001.html>
- Previous message: [CentOS] Shell script - ping
- Next message: [CentOS] Re: Shell script - ping
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list