Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tcpblast(8) [debian man page]

tcpblast(8)							     tcpblast							       tcpblast(8)

NAME
tcpblast - tool for measuring network bandwidth SYNOPSIS
tcpblast [options] destination[:port] DESCRIPTION
tcpblast/udpblast is a simple tool for probing network and estimating its throughput. By default it sends 300 blocks (1024 bytes each) of data to specified destination host. Destination can be name or address, IPv4 or IPv6. When IPv6 address is specified with port it should look like: '[3ffe:8010::1]:9' (with single quotes to prevent shell expansion of []). Options -4, --ipv4 use only ipv4 address -6, --ipv6 use only ipv6 address -a send random data -b BUF_SIZE socket buf size (default: -1, don't change), with `-' to be substracted from results -c, --count BLOCKS change default (300) number of blocks, range: 1..10000000 -d DOTFREQ print dot every DOTFREQ blocks, disables cont. speed disp. -h, --help this help -i, --delay DELAY write delay in microseconds (EXPERIMENTAL) -l, --last BLKS show also speed for last BLKS blocks -m results for every block in separate line -n, --nwrite do not write, use e.g. with chargen port -o switch from continuous speed displaying to dots printing -p PORT bind this local PORT -q --quiet show only final statistics -r, --read read data returned to us, switches default port to echo -R, --rate RATESPEC limit the speed according to the RATESPEC -s BLOCK_SIZE block size (default 1024 bytes) -t MAXTIME limit time to MAXTIME (up to 42950 h) --tcp use TCP (default) --udp use UDP (default if named udpblast) -v, --verbosity verbosity, default 0, maximum 3. -v adds time display, -vv also speed in B/s, -v - speed in b/s. -V, --version version destination host name or address port use port #/name xyz instead of default port 9 RATESPEC RATE[,TIME][:RATE[,TIME]]... RATE generating data at RATE speed in B/s TIME for TIME seconds (can be floating point number), last can be omitted and that time will be infinite Options -b, -c, -R, -s and -t can use case insensitive unit multipliers and specifiers: size (bytes): -b and -s argument without units is in bytes, can use [{k,m,g}]b (lower or upper case) for KB, MB or GB. {k,m,g} are powers of 1024. number: -c argument is just a number, can have k, m or g added (powers of 1024), no unit needed rate (bytes pes second): -R RATE is in B/s or Bps, the postfixes can be [{k,m,g}]{b/s,bps} time (seconds): -t and -R TIME argument is in seconds, can be postfixed with [{k,m,g}]{s,min,h,w,m,y} Example: tcpblast -b 4KB -c 10k -R 10kbps,2:20kbps,3s target tcpblast version: FreeBSD + rzm 20001030 BUGS
Rafal says that he is a perfectly bad and careless maintainer :) If You found any other bugs send it to him. AUTHORS
Software: dfk@nic.eu.net (Daniel Karrenberg - acc. to FreeBSD version) Maintained by: Rafal Maszkowski <rzm@icm.edu.pl> Manual page: Artur R. Czechowski <arturcz@bofh.org.pl>, Oct 1999; rzm, Oct 2000 3rd Berkeley Distribution perl 5.005, patch 03 tcpblast(8)

Check Out this Related Man Page

udp(n)								 Tnm Tcl Extension							    udp(n)

__________________________________________________________________________________________________________________________________________________

NAME
udp - Send and receive UDP datagrams. _________________________________________________________________ DESCRIPTION
The udp command allows to send and receive datagrams using the User Datagram Protocol (UDP) (RFC 768). UDP COMMAND
udp open [port] The udp open command opens a UDP datagram socket and returns an udp handle. The socket is bound to given port number or name. An unused port number is used if the port argument is missing. udp connect host port The udp connect command opens a UDP datagram socket and connects it to a port on a remote host. A connected UDP socket only allows to send messages to a single destination. This usually allows to shorten the code since there is no need to specify the destination address for each udp send command on a connected UDP socket. The command returns a udp handle. udp send handle [host port] message The udp send command sends a datagram containing message to the destination specified by host and port. The host and port arguments may not be used if the UDP handle is already connected to a transport endpoint. If the UDP handle is not connected, you must use these optional arguments to specify the destination of the datagram. udp receive handle The udp receive command receives a datagram from the UDP socket associated with handle. This command blocks until a datagram is ready to be received. In most cases, it might be a good idea to check for pending datagrams using the udp bind command. udp close handle The udp close command closes the UDP socket associated with handle. udp bind handle readable [script] udp bind handle writable [script] The udp bind command allows to bind scripts to a UDP handle. A script is evaluated once the UDP handle becomes either readable or writable, depending on the third argument of the udp bind command. The script currently bound to a UDP handle can be retrieved by calling the udp bind command without a script argument. Bindings are removed by binding an empty string. udp info [handle] The udp info command without the handle argument returns a list of all existing UDP handles. Information about the state of a UDP handle can be obtained by supplying a valid UDP handle. The result is a list containing the source IP address, the source port, the destination IP address and the destination port. SEE ALSO
scotty(1), Tnm(n), Tcl(n) AUTHORS
Juergen Schoenwaelder <schoenw@cs.utwente.nl> Tnm udp(n)
Man Page