Linux - Keep internet connection monitoring, Best practice to do ping test
Keep internet connection monitoring
There are many different methods to keep your internet connections monitored, but the best practice to keep the internet connection monitored is the ping test. But how will make the ping test and to which IP we can do ping test? You all know Google servers never goes down, might be in some rare case. On terminal type the ping command with -t option# ping -t 8.8.8.8
Pinging 8.8.8.8 with 32 bytes of data:
Reply from 8.8.8.8: bytes=32 time=175ms TTL=49
Reply from 8.8.8.8: bytes=32 time=167ms TTL=49
Reply from 8.8.8.8: bytes=32 time=54ms TTL=49
Reply from 8.8.8.8: bytes=32 time=139ms TTL=49
Request timed out.
# nslookup 8.8.8.8 Server: UnKnown Address: 192.168.1.1 Name: google-public-dns-a.google.com Address: 8.8.8.8
Type "ping -t 8.8.8.8" leaving the double quotes. The " -t " switch is important since it means that the ping command will run forever if not stopped by yourself by hitting Ctrl + C. (8.8.8.8 is Google's DNS Server)
The output of the ping command 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 it means that the Internet connection is down.
The topic on Linux - Keep internet connection monitoring is posted by - Math
Hope you have enjoyed, Linux - Keep internet connection monitoringThanks for your time