![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ping script | sriram003 | Shell Programming and Scripting | 2 | 05-27-2008 12:47 AM |
| script to ping servers | sriny | UNIX for Advanced & Expert Users | 2 | 01-23-2008 09:19 AM |
| ping from Unix script | asutoshch | Shell Programming and Scripting | 2 | 05-09-2005 05:23 AM |
| Ping script using Redhat and BAsh | edkung | Shell Programming and Scripting | 11 | 06-13-2003 04:28 PM |
| IP Ping script | perleo | Shell Programming and Scripting | 11 | 10-14-2002 04:58 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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?
|
|
||||
|
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. |
|
||||
|
Quote:
if that was a unsuccessful receive for the ICMP packets delivered i could see some point in pinging again !!! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|