* Script Needed - Use of the PING Command
@ 2000-04-12 4:00 Steve Lowe
2000-04-13 4:00 ` Marchelm Bomers
0 siblings, 1 reply; 2+ messages in thread
From: Steve Lowe @ 2000-04-12 4:00 UTC (permalink / raw)
Has anyone written a script that will ping a host to determine
availability along with connectivity?
Thanks in advance.
-- Steve Lowe
Aurora University
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Script Needed - Use of the PING Command 2000-04-12 4:00 Script Needed - Use of the PING Command Steve Lowe @ 2000-04-13 4:00 ` Marchelm Bomers 0 siblings, 0 replies; 2+ messages in thread From: Marchelm Bomers @ 2000-04-13 4:00 UTC (permalink / raw) [-- Attachment #1: Type: text/plain, Size: 1037 bytes --] Steve Is this the sort of thing that you are looking for (it's part of one that I/we use locally). Marchelm -------------------- #!/bin/tcsh -f # Test network connectivity # INITIAL HOUSEKEEPING cd /usr/local/adm/gccscripts set path=(/etc /bin /sbin /usr/sbin) # TEST SYSTEMS (as per list in file pingtest.data set syslist = ` awk '{print $1}' pingtest.data | grep -v "^#" | sed '/^$/d' ` foreach system ($syslist) clear /bin/echo "\nPINGTEST = $system\n" ping -c3 $system /bin/echo "\nPINGTEST = completed ($system)" sleep 2 end exit -------------------- The pingtest.data file simply lists the machines that you want tested. Local e.g. ----- # local systems its-gipps1 130.194.205.61 130.194.15.13 130.194.212.15 # Clayton systems 130.194.26.132 130.194.26.133 vaxc # external systems www.telstra.com.au ----- Steve Lowe wrote: > > Has anyone written a script that will ping a host to determine > availability along with connectivity? > > Thanks in advance. > > -- Steve Lowe > Aurora University [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: Card for Marchelm Bomers --] [-- Type: text/x-vcard; charset=us-ascii; name="Marchelm.Bomers.vcf", Size: 598 bytes --] begin:vcard n:Bomers;Marchelm tel;fax:<BR>51226719 or 99026719<BR><BR> tel;work:<BR>(03) 51226963   - Local<BR>(03) 99026963   - National<BR>+61 3 99026963 - International<BR><BR> x-mozilla-html:FALSE org:<CENTRE>Gippsland Campus</CENTRE>;<A HREF=http//www.its.monash.edu.au><IMG SRC=http://www-peninsula.cc.monash.edu.au/its/its.jpg BORDER=0></A><BR><BR> adr:;;<BR>Northways Rd., Churchill<BR>Victoria 3842<BR>AUSTRALIA;;;; version:2.1 email;internet:Marchelm.Bomers@its.monash.edu.au title:Technology Services Coordinator x-mozilla-cpt:;-1 fn:Marchelm B�mers end:vcard ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-04-13 4:00 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2000-04-12 4:00 Script Needed - Use of the PING Command Steve Lowe 2000-04-13 4:00 ` Marchelm Bomers
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox