4 stable releases
2023.3.0 | Mar 24, 2023 |
---|---|
2020.6.4 | Jun 19, 2020 |
#2257 in Command line utilities
41KB
750 lines
Pipe Progress
Table of Contents
Status
Status | Description |
---|---|
Dependency checker | |
Rust | |
Greets new users to the project. | |
Testing and building containers | |
Automates label addition to issues and PRs | |
Ships new releases 🚢 | |
Checks for Stale issues and PRs | |
Linting |
Overview
Pipe Progress is a command-line utility to display progress during long pipe operations.
This utility was created as part of the amazing training course titled Hands-On Systems Programming with Rust by Nathan Stocks. The course content is available from Agile perception.
Usage
There are a couple of different methods to running the code from this repository.
Pre-build release
Download a prebuilt release in your desired architecture and place the binary into your PATH
before running the following.
pp --help
Cargo release
Pipe Progress can be installed using cargo as follows
cargo install pipeprogress
pp --help
From source
If you want to run from source, you can clone this repository and build with cargo as follows.
git clone git@github.com:salt-labs/pipeprogress.git
cd pipeprogress
cargo build --release
./target/release/pp --help
Examples
dd if=/dev/urandom bs=1M count=1024 | pp | dd of=random_data.bin
# Output is as follows; bytes, elapsed time, bps rate
970997760 0:00:06 [6970429b/s]
Dependencies
~3–14MB
~108K SLoC