Commandline Tools for Linux (may work in other environments too)


"wcs" Stream Meter

This small tool can be put between commands and prints the number of bytes piped through it to STDOUT. The name is derived from "wc stream", although it does not count words or lines.
Very useful for things like progress reporting, and a lot easier to use than the similar functionality of "dd".
Very simple compile instructions at the start of the source file.

Example output:

root@gate:~# cat /dev/zero | wcs > /dev/null
 read:   6.717 GB [   6717444096 B]    avg:   1.120 GB/sec [     6 sec]

wcs source


Last update: October, 2014 Arno Wagner