:: reverse dictionary ::
タイムアウトになる時間を指定して IP 接続を確認するには、ping コマンドに次の2つを指定して実行します。
C:\>ping -w 1 10.1.111.33
Pinging 10.1.111.33 with 32 bytes of data:
Request timed out.
Request timed out.
Reply from 10.1.111.33: bytes=32 time=335ms TTL=235
Reply from 10.1.111.33: bytes=32 time=334ms TTL=235
Ping statistics for 10.1.111.33:
Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
Minimum = 334ms, Maximum = 335ms, Average = 334ms
C:\>ping -w 10000 10.1.111.33
Reply from 10.1.111.33: bytes=32 time=334ms TTL=235
Reply from 10.1.111.33: bytes=32 time=335ms TTL=235
Reply from 10.1.111.33: bytes=32 time=335ms TTL=235
Reply from 10.1.111.33: bytes=32 time=334ms TTL=235
Ping statistics for 10.1.111.33:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 334ms, Maximum = 335ms, Average = 334ms
ping [-w タイムアウト時間] 宛先
ping コマンドに -w オプションとタイムアウト時間を指定して実行すると、「ICMP エコー要求パケット」を宛先に送信し、その時間内に IP 接続ができるかどうかを確認します。
タイムアウト時間は、ミリ秒単位で指定します。
タイムアウトした場合は、「Request timed out」のメッセージを表示します。
-w オプションを付けない ping コマンドのタイムアウト時間は、4000 です。
(4秒でタイムアウト)
Copyright (C) 2005-2007 Noto Watabe. All rights reserved.
e-mail:wmh@always-pg.com