Skip to content

Latest commit

 

History

History
81 lines (54 loc) · 3.18 KB

README.md

File metadata and controls

81 lines (54 loc) · 3.18 KB

Pipe Progress

Table of Contents

Status

Status Description
Dependabot Dependency checker
Rust Rust
Greetings Greets new users to the project.
Docker Testing and building containers
Labeler Automates label addition to issues and PRs
Release Ships new releases 🚢
Stale Checks for Stale issues and PRs
Super-Linter 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 [email protected]: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]