How to Continuously Monitor your Internet Connection

The internet connection has been flaky for the past few days. It works fine for 10-15 minutes, breaks for about a minute and the connection is then automatically restored. This erratic on/off cycle repeats itself throughout the day.

It is most likely an ISP issue as the modem, the router, the DNS server, and the network connections seem perfect. Even power cycling the hardware failed to fix the problem.

While the ISP resolves the issue, I have to continuously monitor the Internet connection as certain actions - like submitting web forms - would fail if initiated while the computer is offline. Luckily, there isn’t a need to download another utility as the included ping command can itself help monitor the downtime.

PING Command

Ping to Monitor your Internet Connection

Go to Start -> Run and type “ping -t 8.8.8.8” without the quotes. The “-t” switch is important as it means that the ping command will run forever unless stopped manually by hitting Ctrl + C. (8.8.8.8 is Google’s DNS Server)

The output of the ping command, as illustrated in the above screenshot, shows the live status of your Internet connection. If the status reads as “reply from 8.8.8.8,” the machine is online and in all other cases, the Internet connection is down.

Read more ways to troubleshoot your Internet connection.

Amit Agarwal

Amit Agarwal

Google Developer Expert, Google Cloud Champion

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India.

Amit has developed several popular Google add-ons including Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

Awards & Titles

Digital Inspiration has won several awards since it's launch in 2004.

Google Developer Expert

Google Developer Expert

Google awarded us the Google Developer Expert award recogizing our work in Google Workspace.

ProductHunt Golden Kitty

ProductHunt Golden Kitty

Our Gmail tool won the Lifehack of the Year award at ProductHunt Golden Kitty Awards in 2017.

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional (MVP) title for 5 years in a row.

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator title recognizing our technical skill and expertise.

Email Newsletter

Sign up for our email newsletter to stay up to date.

We will never send any spam emails. Promise.