Continuous ping in Windows 7, 8, and 10
For each incoming response packet, ping issues an entry on the standard output (stdout). The output comprises the IP address of the pinged computer, the size (in bytes) of the response packet, the response time in milliseconds (ms) as well as the TTL (Time to live).
If no file is found under the specified file name, it will be automatically generated. In the example presented above, we redirect the standard output to a txt file named pingtest.
Continuous ping in Linux
If you’d like to have the continuous ping issue a timestamp, use ping with the -D option. In this case, the output for each incoming response packet is preceded by a UNIX timestamp.
If you don’t want to run ping on an endless loop in Linux, define the ping quantity with the -c option according to the following example.
Continuous ping in MacOS
Step 1: Open the terminal. You’ll find the Mac terminal under “Applications” in the subfolder “Utilities”.
Step 2: Run the ping command with the address of the target computer.
In MacOS, you redirect the standard output according to the same procedure you would use in Linux and Windows.
Run a ping test as you would in Linux with a user-defined quantity of echo request queries by choosing option -c.