tcpblast(8)

πŸ’– tcpblast(8) β€” the manual page bestie πŸ’–

okay so you want to know how fast your network is actually going? that's literally what this is for, no cap. this is the tcpblast page from section 8 (system admin / commands) and it's about to be your new favorite little throughput-probing bestie. πŸ¦‹


✨ NAME ✨

tcpblast β€” a tool for measuring network bandwidth. that's it, that's the whole job. πŸ’…


🌸 SYNOPSIS 🌸

tcpblast [options] destination[:port]

πŸŽ€ DESCRIPTION πŸŽ€

so tcpblast/udpblast is a simple little tool for probing your network and estimating its throughput. by default it sends 300 blocks (each one 1024 bytes) of data to the destination host you picked. yes bestie, it just starts yeeting bytes at them. ✨

destination can be a name or an address, and it can be IPv4 or IPv6. now listen β€” when you specify an IPv6 address with a port, it has to look like this:

'[3ffe:8010::1]:9'

those single quotes matter, okay?? they stop the shell from expanding the [] and ruining your whole vibe. πŸ™ˆ

πŸ‘‘ 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), and if you put a - in front it gets subtracted from the results
  • -c, --count BLOCKS β€” change the default (300) number of blocks, range: 1..10000000
  • -d DOTFREQ β€” print a dot every DOTFREQ blocks, and this disables the continuous speed display
  • -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]]... where RATE is generating data at RATE speed in B/s, and TIME is for TIME seconds (can be a floating point number), and the last one can be omitted β€” and if it is, that time will be infinite πŸŒ€

🌈 Unit multipliers & specifiers 🌈

options -b, -c, -R, -s and -t can all use case insensitive unit multipliers and specifiers:

  • size (bytes):
    • -b and -s argument without units is in bytes, and you 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, and it can have k, m or g added (powers of 1024), no unit needed.
  • rate (bytes per second):
    • -R RATE is in B/s or Bps, and the postfixes can be [{k,m,g}]{b/s,bps}
  • time (seconds):
    • -t and -R TIME argument is in seconds, and it 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 β€” periodt, that's the version string. πŸ’œ

πŸ’€ BUGS πŸ’€

Rafal says that he is a perfectly bad and careless maintainer :)

If You found any other bugs send it to him. (fr fr, he asked. 😭)


🫢 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

and that's the whole page bestie, you ate it πŸŽ€ this one came to you from the 3rd Berkeley Distribution, riding along with perl 5.005, patch 03, in section tcpblast(8) β€” iconic, no notes, byeee πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from