詳細な遅延を測定してみる@True Ping
WindowsOS標準のPINGだと1ms以下の遅延は測定出来ないんです。最近CIFSを使う場合のネットワーク遅延を調べていまして、その際に重宝しました。
■True Pingの使い方
特に使い方は標準のPingと変わりません。
ダウンロード後、ping.exeと同じ
C:\WINDOWS\system32
なんかに置けばインストール完了です。あとはコマンドプロンプトから
tping Host名
でPingと同じように使えます。
C:\Documents and Settings\pnpk>tping 172.16.0.1Pinging 172.16.0.1 with 32 bytes of data from
[172.16.3.43]:Reply from 172.16.0.1: bytes=32 time 0.43 ms, TTL=255,
Hop=0, Jitter=0.00 ms
Reply from 172.16.0.1: bytes=32 time 0.15 ms, TTL=255,
Hop=0, Jitter=0.02 ms
Reply from 172.16.0.1: bytes=32 time 0.17 ms, TTL=255,
Hop=0, Jitter=0.02 ms
Reply from 172.16.0.1: bytes=32 time 0.15 ms, TTL=255,
Hop=0, Jitter=0.02 ms
Reply from 172.16.0.1: bytes=32 time 0.23 ms, TTL=255,
Hop=0, Jitter=0.02 msPing statistics for 172.16.0.1
Packets: Sent = 5, Received = 5, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0.15ms, Maximum = 0.43ms, Average = 0.23ms,
Jitter Statistical = 0.12ms
以下ヘルプの内容になります。
Usage: tping [Options] destination-host
Standard Ping Options:
-t Ping the specified host until stopped.
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet.
-i TTL Time To Live.
-v TOS Type of service.
-w timeout Timeout in milliseconds to wait for each reply.
True Ping Extended Options:
-j A very simple trace route (Time To Live will
increment at each ping).
-p Do not use another thread for receiving data
(in real applications multiple threads are used).
-c Ping compatibility: Use standard data buffer:
'abcdefghijklmnopqrstuvw' (default is random
data buffer).
Due to compression of ip packets the standard
ping buffer
does not give realistic results.
-d delay Delay in milliseconds between a receive and the
next send
0 for no delay. Use "tping host -n 100 -d 0 > out.txt"
for a high data send rate.
-z count Number of echo responses to ignore in the statistic
calculation. Useful if the first packets are much
slower than the average packet
-h Print also the Timestamp for every ping
True Ping 1.13 - by Andrea Denzler :) - http://www.AndreaPlanet.com/tping/
Popularity: 3%
トラックバック URI : http://pnpk.net/cms/archives/410/trackback/
【関連記事】