Sign in to follow this  
iamspecial

ping -w

Recommended Posts

'man ping' says:
-w deadline
Specify a timeout, in seconds, before ping exits regardless of how many packets have been sent or received. In this case ping does not stop after count packet are sent, it waits either for deadline expire or until count probes are answered or for some error notification from network.

Share this post


Link to post
Share on other sites
You can type ping -? to see the list of arguments and what they mean. -w is the timeout value in milliseconds, that's how long it'll wait for a reply before it gives up.

EDIT: I'm so slow :-D

Share this post


Link to post
Share on other sites
ok
i have another question
if we ping the router address and fails to get the reply in a LAN
does it means the router is not functioning

i mean suppose a router x connected between A and B . if we ping x from C and get no reply does it means the router x is not functioning
here A , B , C are three computers on LAN

thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this