
On 23/11/2011, at 21:16, Russell Coker <russell@coker.com.au> wrote:
It's quite common for me to ping a server while it's down. Often when doing so I have a rough idea of how long it will take (for example rebooting the new Hetzner servers I'm running in Germany takes about 160 seconds during which there are no ping responses) so it's good to know how long it is before I should expect a response. At other times I want a running count of how long it's been down so I can give an accurate complaint when someone answers my call.
The standard ping programs tell you the packet count (which by default is 1 per second) when it receives a response. When there is no response nothing is printed.
I would like a ping type program which will tell me how many seconds the target has not been responding for.
Does anyone know of such a program?
I find mtr great for this sort of thing. It will report both the number of received packets, as well as not received packets. The stats can also be reset at any time by pressing 'r'