hanginfty / pipeviewer

a simple colorized Linux pipe viewer CLI tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PipeViewer

一个Rust编写的查看管道传输速率的命令行工具

示例:

编译:

# clone this project:
git clone --depth=1 https://https://github.com/hanginfty/pipeviewer

cd pipeviewer

cargo build --release

用法:

pv --help

pipeviewer 

USAGE:
    pipeviewer [FLAGS] [OPTIONS] [infile]

FLAGS:
    -h, --help       Prints help information
    -s, --silent     
    -V, --version    Prints version information

OPTIONS:
    -o, --outfile <outfile>    Write output to a file instead of stdout.

ARGS:
    <infile>    Read file from a file instead of stdin

示例

# receive standard input, print bytes received & rate
echo "hello rust" | pv

# receive standard input, write in outputfile if specify '-o' flag
yes | pv -o > /dev/null

About

a simple colorized Linux pipe viewer CLI tool.


Languages

Language:Rust 95.1%Language:Makefile 4.9%