logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

lat_connect - measure interprocess connection latency via TCP/IP

Author

       Carl Staelin and Larry McVoy

       Comments, suggestions, and bug reports are always welcome.

(c)1994 Larry McVoy                                  $Date$                                       LAT_CONNECT(8)

Description

lat_connect  is  a client/server program that measures interprocess connection latencies.   The benchmark
       times the creation and connection of an AF_INET (aka TCP/IP) socket to a remote  server.   Care  is  take
       that  the connection time does not include any other overhead, such as the gethostbyname() or remote port
       lookups since these add more overhead than the connection establishment itself.

       lat_connect has three forms of usage: as a server (-s), as a client (lat_connect  localhost),  and  as  a
       shutdown (lat_connect -S localhost).

Name

       lat_connect - measure interprocess connection latency via TCP/IP

Output

       The reported time is in microseconds per connection.  Output format is like so

       TCP/IPconnectioncosttolocalhost:1006microseconds

See Also

lmbench(8).

Synopsis

lat_connect-slat_connect [ -P<parallelism> ] [ -W<warmups> ] [ -N<repetitions> ] hostnamelat_connect-Shostname

See Also