LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pv

Monitor data transfer through pipes

TLDR

Show transfer progress
$ pv [file] > [output]
copy
Pipe with progress
$ cat [file] | pv > [output]
copy
Limit transfer rate
$ pv -L [1m] [file] > [output]
copy
Show ETA
$ pv -e [file] > [output]
copy
Name the transfer
$ pv -N "Copying" [file] > [output]
copy

SYNOPSIS

pv [options] [files]

DESCRIPTION

pv (Pipe Viewer) monitors the progress of data flowing through a Unix pipeline. It can be inserted between any two commands in a pipe to display a progress bar, transfer rate, elapsed time, estimated time of arrival, and percentage complete.When given a file as input, pv can calculate the total size and show meaningful progress percentages. For streams of unknown size, use the -s flag to specify the expected size. The -L option limits transfer rate, which is useful for throttling operations. Multiple -N flags can name different pv instances in complex pipelines to track each stage independently. pv is commonly used to add visual feedback to operations like disk imaging with dd, database imports, or large file transfers.

PARAMETERS

FILES

Input files.
-L RATE
Rate limit.
-N NAME
Transfer name.
-e
Show ETA.
-p
Show percentage.
-t
Show elapsed time.
-r
Show rate.
-s SIZE
Expected size.

INSTALL

sudo apt install pv
copy
sudo dnf install pv
copy
sudo pacman -S pv
copy
sudo apk add pv
copy
sudo zypper install pv
copy
brew install pv
copy
nix profile install nixpkgs#pv
copy

CAVEATS

Adds small overhead. Insert between commands.

HISTORY

pv was created for monitoring data progress through pipelines.

SEE ALSO

dd(1), rsync(1), progress(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid