Crates.io | measure |
lib.rs | measure |
version | 1.1.3 |
source | src |
created_at | 2018-11-16 07:38:59.008478 |
updated_at | 2018-11-16 22:15:18.447241 |
description | Estimate data transfer speed between two streams |
homepage | https://github.com/mota/measure |
repository | |
max_upload_size | |
id | 96953 |
size | 9,895 |
Estimate data transfer speed between two streams
$ cargo install measure
measure 1.1
Mota
Measures data transfer given in standard input
USAGE:
measure [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-f, --file <FILE> File to output the transfer rate to instead of stderr
-u, --unit <UNIT> Display the result in a different unit format [possible values: b, k, m, g, t]
$ ssh me@my-host 'cat /dev/random' | measure > /dev/null
692.0 KiB/s
3.4 MiB/s
3.4 MiB/s
3.4 MiB/s
3.3 MiB/s
[...]
$ curl -s https://mirrors.sonic.net/pub/OpenBSD/6.4/amd64/install64.iso | measure -u k -f progress > install64.sio& # useless use of measure
$ tail -f progress
2452.0 KiB/s
5296.0 KiB/s
6688.0 KiB/s
6544.0 KiB/s
4176.0 KiB/s
6832.0 KiB/s
[...]