Pipe Viewer (mirror) - monitor the progress of data through a pipe. https://ivarch.com/programs/pv.shtml
  • C 73%
  • Shell 24.8%
  • Makefile 1.3%
  • M4 0.9%
Find a file
2026-11-29 14:33:12 +00:00
docs Add an "update-po" top-level Makefile target. 2026-11-22 21:40:03 +00:00
po Message line number updates. 2026-11-01 22:22:09 +00:00
src Replace "find -printf" in scripts. 2026-11-25 21:34:18 +00:00
tests Wait for the process to start before sleeping. 2026-11-29 14:33:12 +00:00
.gitignore Major restructuring to switch build system from old scripts to GNU Automake. 2023-08-28 10:04:39 +01:00
configure.ac Switch on Automake silent build rules. 2026-11-22 21:52:15 +00:00
CONTRIBUTING.md Add CONTRIBUTING.md. 2026-10-22 14:00:01 +01:00
Makefile.am Correct silent Make rules. 2026-11-22 22:05:11 +00:00
README.md Clarify the instructions for first-time readers. 2026-10-22 14:01:02 +01:00

Introduction

pv ("Pipe Viewer") is a terminal-based tool for monitoring the progress of data through a pipeline and modifying its flow.

When used just like "cat", pv displays how quickly data is being transferred, how long it has taken, how near to completion it is, and an estimate of how long it will be until completion. Data flow rate, error handling strategy, buffer size, and cache interaction can all be adjusted.

With the "--cursor" option, several pv instances can work together, showing transfer progress at different points in the same pipeline.

In "--watchfd" mode, pv will inspect another process and show its progress through the files it has open.

In "--monitor" mode, pv will run a command and display the progress of data through both its standard input and its standard output.

Documentation

A manual page is included in this distribution ("man pv"). Before installation, it is in "docs/pv.1".

Changes are listed in "docs/NEWS.md".

Contributors, please see "CONTRIBUTING.md" and, for more details, "docs/DEVELOPERS.md".

Translators can use the Weblate instance hosted by Codeberg: https://translate.codeberg.org/engage/pv/

Translation status

If you don't see your language listed, raise an issue on the issue tracker or via Weblate, asking for it to be added.

Installation

Before compiling and installing from source, ensure you have the build toolchain installed ("sudo apt install build-essential" on Debian or Ubuntu systems).

The typical process for a system-wide install is:

sh ./configure --prefix=/usr
make
sudo make install

See "docs/INSTALL" for more about the configure script.

Installing from the repository

Only packaged releases contain the configure script. When building from a clone of the repository, configure first needs to be generated with the GNU build system tools (autoconf, aclocal, autopoint, automake), as well as gettext.

On Debian or Ubuntu, run:

sudo apt install automake autopoint gettext

Once those tools are in place, build configure like this:

autoreconf -is

Then follow the Installation steps above.

Copyright, bug reporting, and acknowledgements

See "docs/ACKNOWLEDGEMENTS.md" for a list of contributors.

Copyright (C) 2002-2008, 2010, 2012-2015, 2017, 2021, 2023-2026 Andrew Wood.

License GPLv3+: GNU GPL version 3 or later https://www.gnu.org/licenses/gpl-3.0.html.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License, version 3, in "docs/COPYING". If not, see https://www.gnu.org/licenses/gpl-3.0.html.

Please report bugs or request features via the issue tracker linked from the home page.

The pv home page is at:

https://ivarch.com/p/pv

The latest version can always be found here.