How to find the response time of a server ?
we have two modes : 1. ICMP Ping : This is done with the help of native code. Since ICMP packets may be lost on the network or respond slowly as they are given low priority, we wait for a timeout of 1000ms. The response time in this case is actually the time taken for executing this ping and getting the response. Hence it may be slightly higher in the case of timeouts. (1000 + time for executing the ping related code). 2. System Ping : This is done with the help of the “ping” command. The response time in this case is obtained directly from the output of the ping command itself.