[CentOS] Shell script - ping

Bill Campbell centos at celestial.com
Mon Jul 28 15:36:47 UTC 2008


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
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186

A tax-supported, compulsory educational system is the complete model of the
totalitarian state. -- Isabel Paterson, God of the Machine



More information about the CentOS mailing list