# tcpkali-debian **Repository Path**: liangyong928/tcpkali-debian ## Basic Information - **Project Name**: tcpkali-debian - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: debian - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-12 - **Last Updated**: 2025-08-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # About `tcpkali` is a high performance TCP and WebSocket load generator and sink. ![tcpkali mascot](doc/images/tcpkali-mascot.png) # Features * Opens millions of connections from a single host by using available interface aliases. * Efficient multi-core operation (`--workers`); utilizes all available cores by default. * Allows opening massive number of connections (`--connections`) * Allows limiting an upstream and downstream of a single connection throughput (`--channel-bandwidth-downstream`, `--channel-bandwidth-upstream` or `--message-rate`) * Allows specifying the first and subsequent messages (`--message`, `--first-message`). * Measures response latency percentiles using [HdrHistogram](https://github.com/HdrHistogram) (`--latency-marker`) * Sends stats to StatsD/DataDog (`--statsd`) # Quick example: testing a web server tcpkali -em "GET / HTTP/1.1\r\nHost: google.com\r\n\r\n" -r 10 \ --latency-marker "HTTP/1.1" google.com:80 # Install ## From packages | OS | Package manager | Command | | -------- | --------------------------------------- | ---------------------- | | Mac OS X | [Homebrew](http://brew.sh/) | `brew install tcpkali` | | Mac OS X | [MacPorts](https://www.macports.org/) | `port install tcpkali` | | FreeBSD | [pkgng](https://wiki.freebsd.org/pkgng) | `pkg install tcpkali` | | Linux | [nix](https://nixos.org/nix/) | `nix-env -i tcpkali` | ## From sources Install the following packages first: * autoconf * automake * libtool * bison * flex * gcc-c++ * ncurses-devel or equivalent ncurses package, *optional*. **Build and install:** test -f configure || autoreconf -iv ./configure make sudo make install [![Build Status](https://travis-ci.org/machinezone/tcpkali.svg?branch=master)](https://travis-ci.org/machinezone/tcpkali) # Usage (Short version) Usage: tcpkali [OPTIONS] [-l ] [...] Where some OPTIONS are: -h Print this help screen, then exit --help Print long help screen, then exit -d Dump i/o data for a single connection -c Connections to keep open to the destinations -l Listen on the specified port --ws, --websocket Use RFC6455 WebSocket transport -T Exit after the specified amount of time -e Unescape backslash-escaping in a message string -1 Message to send to the remote host once -m Message to repeatedly send to the remote -r Messages per second to send in a connection Variable units and recognized multipliers: , : k (1000, as in "5k" is 5000), m (1000000)