在WINDOWS的DOS下,連續ping命令的使用如下:
Microsoft Windows [版本 5.2.3790]
(C) 版權所有 1985-2003 Microsoft Corp.
D:\Documents and Settings\Administrator>ping 10.66.0.1 -t
Pinging 10.66.0.1 with 32 bytes of data:
Reply from 10.66.0.1: bytes=32 time<1ms TTL=255
Reply from 10.66.0.1: bytes=32 time=1ms TTL=255
Reply from 10.66.0.1: bytes=32 time<1ms TTL=255
Reply from 10.66.0.1: bytes=32 time=1ms TTL=255
Reply from 10.66.0.1: bytes=32 time<1ms TTL=255
Reply from 10.66.0.1: bytes=32 time<1ms TTL=255
Reply from 10.66.0.1: bytes=32 time<1ms TTL=255
Ping statistics for 10.66.0.1:
Packets: Sent = 7, Received = 7, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
但是在Solaris操作系統下,是使用-s參數,如下所示:
D:\Documents and Settings\Administrator>
# ping -s 222.175.169.65
PING 222.175.169.65: 56 data bytes
64 bytes from 222.175.169.65: icmp_seq=0. time=2. ms
64 bytes from 222.175.169.65: icmp_seq=1. time=1. ms
64 bytes from 222.175.169.65: icmp_seq=2. time=2. ms
64 bytes from 222.175.169.65: icmp_seq=3. time=1. ms
64 bytes from 222.175.169.65: icmp_seq=4. time=1. ms
64 bytes from 222.175.169.65: icmp_seq=5. time=1. ms
^C
----222.175.169.65 PING Statistics----
6 packets transmitted, 6 packets received, 0% packet loss
round-trip (ms) min/avg/max = 1/1/2