[svlug] how to ping a dead system

Ray Olszewski ray at comarre.com
Fri May 5 09:53:54 PDT 2000


Marc -- You've come into this discussion a bit late. There are at least two
versions of ping around:

        one has the -c option; when that option is not used, ping
                waits forever (or some extremely large number of seconds)
                for a response.
        one does not support the -c option, but defaults to failing 
                after 10 seconds with no response; as best I can
                determine, this wait delay cannot be adjusted.

Other than testing, I (and the others who responded on this thread) came up
with no way to find out which version a particular system has.

BTW, my (Debian) systems ... at least the ones I checked ... have the second
variant described above.

At 09:15 AM 5/5/00 -0700, Marc Merlin wrote [edited]:

>> crick:~>time ping 10.1.1.2
>> PING 10.1.1.2 (10.1.1.2): 56 data bytes
>> <<<<<<<<<<<< hit ctrl-C right here >>>>>>>>>>>>
>> --- 10.1.1.2 ping statistics ---
>> 2495 packets transmitted, 0 packets received, 100% packet loss
>> 0.010u 0.000s 41:34.32 0.0% 0+0k 0+0io 72pf+0w
>> crick:~>
>> -------------------------------------
>> 
>>   note the 41 minutes it was waiting...
>
>But it's supposed to be this way, ping will ping forever by default.
>You should use the -c option, as some others already mentionned.
>
>eg: ping -c 3 dest

------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA           	 	         ray at comarre.com        
----------------------------------------------------------------






More information about the svlug mailing list