![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ping script | sriram003 | Shell Programming and Scripting | 2 | 05-26-2008 08:47 PM |
| script to ping servers | sriny | UNIX for Advanced & Expert Users | 2 | 01-23-2008 06:19 AM |
| ping from Unix script | asutoshch | Shell Programming and Scripting | 2 | 05-09-2005 01:23 AM |
| Ping script using Redhat and BAsh | edkung | Shell Programming and Scripting | 11 | 06-13-2003 12:28 PM |
| IP Ping script | perleo | Shell Programming and Scripting | 11 | 10-14-2002 12:58 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Ping Script
hello, I am looking to make a script that will ping a remote ip address. Upon completion of the ping I want the program to either ping again if the # of packets transmitted is equal to the number of packets received or exit if the two values are unequal and information was lost. I am not sure if I should go about this program with a shell script or a C script or any other alternative. In either case would someone be able to point me in the correct direction?
|
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
Aside from using ip traffic for not much return, what are you attempting?
Making sure that a node is up? I'll bet if you explain what you want to acheive, some here already knows how to do it, rather than helping you do something that seems unusual. |
|
#3
|
|||
|
|||
|
Quote:
if that was a unsuccessful receive for the ICMP packets delivered i could see some point in pinging again !!! |
|
#4
|
|||
|
|||
|
That's why I asked for 'what' the OP is trying to accomplish, not how he wants to do it.
|
|||
| Google The UNIX and Linux Forums |