There is a free tool called PsPing – Free Utility, which implements Ping functionality, TCP ping, latency and bandwidth measurement.
It's a command line tool which shows you the results on the screen but there is also an option for generating histogram which can be easily imported into spreadsheet.
The utility is part of PsTools which is a well known “utility toolbox” from Mark Russinovich (works for Microsoft now), which do not need any introduction. Inside of PsTools there is dozens of other useful command line utilities which many of those are well known as well. I can mention PsKill, PsInfo or PsService.
To use PsPing just copy PsPing onto your executable path. Typing “psping” displays its usage syntax. If you want the details concerning for example the bandwidth function you just type:
to get help.
Use the following command-line options to show the usage for each test type:
Usage: psping -? [i|t|l|b]
-? I Usage for ICMP ping.
-? T Usage for TCP ping.
-? L Usage for latency test.
-? B Usage for bandwidth test.
Tool is very rich, you might want just type “?” to get help or you can see ALL the switches at the utility page here.
So example to test the bandwidth:
psping -b -l 8k -n 10000 -h 100 192.168.2.2:5000
This command tests bandwidth to a PsPing server listening at the target IP address for 10 seconds and produces a histogram with 100 buckets. Note that the test must run for at least one second after warmup for a histogram to generate. Simply add -u to have PsPing perform a UDP bandwidth test.
The utility runs on clients and also on server OSes.
- Client OS: Windows Vista and higher.
- Server OS: Windows Server 2008 and higher
Source: PsPing Page at Sysinternals Microsoft