PsPing – Windows CMD Command
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 118
Notice: A non well formed numeric value encountered in /home/future4tech/public_html/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 119
Measure network performance. In addition to standard ICMP ping functionality, PsPing can report the latency of connecting to TCP ports, the latency of TCP round-trip communication between systems, and the TCP bandwidth available to a connection between systems. Besides obtaining min, max, and average values in 0.01ms resolution, you can also use PsPing to generate histograms of the results that are easy to import into a spreadsheet.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
Syntax (ICMP ping) psping [[-6]|[-4]] [-h [buckets]] [-i interval] [-l requestsize [-q] [-t|-n count] [-w count] destination Key -h Print histogram (default bucket count is 20). -i Interval in seconds. Specify 0 for fast ping. -l Request size. -n Number of pings. -q Don't output during pings. -t Ping until stopped with Ctrl+C and type Ctrl+Break for statistics. -w Warmup with the specified number of iterations (default is 1). -4 Force using IPv4. -6 Force using IPv6. For high-speed ping tests use -q and -i 0. -? I Usage for ICMP ping. Syntax (TCP ping) psping [[-6]|[-4]] [-h [buckets]] [-i interval] [-l requestsize [-q] [-t|-n count] [-w count] destination:destport Key -h Print histogram (default bucket count is 20). -i Interval in seconds. Specify 0 for fast ping. -l Request size. -n Number of pings. -q Don't output during pings. -t Ping until stopped with Ctrl+C and type Ctrl+Break for statistics. -w Warmup with the specified number of iterations (default is 1). -4 Force using IPv4. -6 Force using IPv6. For high-speed ping tests use -q and -i 0. -? T Usage for TCP ping. Syntax (TCP latency) server: psping [[-6]|[-4]] -s source:sourceport client: psping [[-6]|[-4]] [-h [buckets]] [-r] -l requestsize] -n count [-w count] destination:destport Key -h Print histogram (default bucket count is 20). -l Request size. -n Number of sends/receives. -r Receive from the server instead of sending. -w Warmup with the specified number of iterations (default is 5). -4 Force using IPv4. -6 Force using IPv6. -? L Usage for Latency test. The server can serve both latency and bandwidth tests and remains active until you terminate it with Control-C. Syntax (TCP bandwidth) server: psping [[-6]|[-4]] -s source:sourceport client: psping [[-6]|[-4]] -b [-h [buckets]] [-r] -l requestsize -n count [-i outstanding] [-w count] destination:destport Key -b Bandwidth test. -h Print histogram (default bucket count is 20). -i Number of outstanding I/Os (default is min of 16 and 2x CPU cores). -l Request size. -n Number of sends/receives. -r Receive from the server instead of sending. -w Warmup for the specified iterations (default is 2x CPU cores). -4 Force using IPv4. -6 Force using IPv6. -? B Usage for Bandwidth test. The server can serve both latency and bandwidth tests and remains active until you terminate it with Control-C. -accepteula Suppress the display of the license dialog. |
Installation: Copy PsPing onto your executable path. Typing “psping” will display help.
vWhen launched for the first time, PsPing will create the regkey
HKCU\Software\Sysinternals\PsPing\EulaAccepted=0x01
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
Examples: Execute an ICMP ping test for 10 iterations with 3 warmup iterations: psping -n 10 -w 3 workstation64 To execute a TCP connect test, specify the port number. The following command executes connect attempts against the target as quickly as possible, only printing a summary when finished with the 100 iterations and 1 warmup iteration: psping -n 100 -i 0 -q workstation64:80 To configure a server for latency and bandwidth tests, simply specify the -s option and the source address and port the server will bind to: psping -s 10.5.2.2:5000 A buffer size is required to perform a TCP latency test. This example measures the round trip latency of sending an 8KB packet to the target server, printing a histogram with 100 buckets when completed: psping -l 8192 -n 10000 -h 100 192.168.2.2:5000 This is the same command except with a -b option, which executed against the same server performs a bandwidth test. Note that the test must run for at least one second after warmup for a histogram to generate: psping -b -l 8192 -n 10000 -h 100 192.168.2.2:5000 |
Just what I was looking for, regards for posting.