Output statistics about data from stdin while redirecting the data to stdout. The statistics are bytes read, bytes read per second, lines read, lines read per second and total seconds.
```sh
streamstats < /dev/random | streamstats > /dev/null
gunzip -c /path/to/file.gz | stream_stats > /path/to/unzipped
tail -f /var/log/*.log | stream_stats
```
```sh
/var/log/httpd/access.log | stream_stats
/var/log/httpd/access.log | stream_stats > /dev/null ```
```sh
tail -f /var/log/*.log | stream_stats ```
Let us know how you're using this tool!
Install to local system
$ cargo install stream_stats
Bug reports and pull requests are welcome on GitHub at https://github.com/ddrscott/stream_stats.
The crate is available as open source under the terms of the MIT License.