E
E
Eddik2016-09-17 17:32:59
linux
Eddik, 2016-09-17 17:32:59

How to measure the RTT of TCP packets?

Hello, I need an analogue of ping for TCP sockets for Linux. The goal is to measure the server response time to small messages, which means that the usual utilities for testing the throughput of network cards are not suitable.

PS Socketperf don't offer

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Redaicd, 2016-09-20
@Redaicd

you can for example one of the nagios plugins
# /usr/lib/nagios/plugins/check_tcp -H torter.ru -p 80
TCP OK - 0.119 second response time on port 80|time=0.118634s;;;0.000000;10.000000

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question