tcpbm : tcp benchmark send+receive
client usage: tcpbm [-v] [-4] [-6] [-a] [-N] [-b BLOCKSIZE ] [-P PROXY] [-s SECONDS] [-m MB[:MB]] SERVER[:PORT]
server usage: tcpbm [-v] [-b BLOCKSIZE ] -p PORT
options: -v : verbose mode
-4 : use IPv4
-6 : use IPv6
-a : test all server IP addresses
-N : set TCP_NODELAY (disable Nagle's algorithm)
-b BLOCKSIZE : blocksize in kB (default 64)
-s SECONDS : number of seconds to test (default 10)
-m MB[:MB] : number of MBs to send [:receive]
-P PROXY : proxy SERVER:PORT
-p PORT : server port
argument: SERVER[:PORT] : server and port
examples: tcpbm flupp.belwue.de
tcpbm -v -m 10:100 flupp.belwue.de
Test site: flupp.belwue.de
optional /etc/xinetd.d/tcpbm
service tcpbm
{
socket_type = stream
wait = no
type = unlisted
protocol = tcp
# flags = IPv6
port = 591
cps = 10 2
user = nobody
groups = no
server = /opt/local/bin/tcpbm
nice = 0
disable = no
}