Which switches does it take?
/t- Pings until stopped: Ctrl+Break shows totals, Ctrl+C quits. source
/n count- How many; 4 if not set. source
/l size- Data bytes in each; 32 if not set. source
/w timeout- Milliseconds to wait for a reply; 4000 if not set. source
/a- Looks up the name of an address. source
/4- IPv4; needed only with a name. source
/6- IPv6; needed only with a name. source
What does the output look like?
Microsoft’s own example source:
C:\>ping example.microsoft.com
pinging example.microsoft.com [192.168.239.132] with 32 bytes of data:
Reply from 192.168.239.132: bytes=32 time=101ms TTL=124
Reply from 192.168.239.132: bytes=32 time=100ms TTL=124
Reply from 192.168.239.132: bytes=32 time=120ms TTL=124
Reply from 192.168.239.132: bytes=32 time=120ms TTL=124
bytes=32 is the default size source; time= is the round trip. We have not run ping on Windows: this is Microsoft’s example.
What should I type?
ping /n 10 8.8.8.8
ping /t 1.1.1.1
ping /l 1000 /n 3 9.9.9.9
Ten pings, then pings until Ctrl+C, then three of 1,000 bytes. The addresses come from hosts to ping.