Skip to main content

Using Ping to Monitor Reboots

By January 24, 2009July 29th, 2011Tips & Tricks

When you`re rebooting a computer, and you need to know exactly when it is back online, try using this command:

ping -t <target>

<target> can be an IP or domain name.

This command will keep pinging the machine endlessly, which can reveal exactly when the computer is back on the network. As long as you keep getting “Request time out”, the machine isn’t online yet. When you get a reply, as illustrated below, you know you can connect to the machine.

Example output of ping -t shown in a Command Prompt window.

Example output of ping -t

Personally, I tend to put this window on my secondary monitor, while I continue working on the primary monitor.  As soon as the machine is online, I close the window or press CTRL+C to prevent the ping from going on endlessly. Be careful how you use this – some hosts can interpret endless pinging as an attack.

Thanks to François Deschênes for originally showing me this trick.

Close Menu