pv - Pipe Viewer - is a terminal-based
tool for monitoring the progress of data through a pipeline. It can be
inserted into any normal pipeline between two processes to give a visual
indication of how quickly data is passing through, how long it has taken,
how near to completion it is, and an estimate of how long it will be until
Additional support is available for multiple instances working in tandem, to given a visual indicator of relative throughput in a complex pipeline:
Source for all systems and RPMs for RPM-based i386 systems are available in the download area.
Comments, bug reports, and patches can be sent using the Contact Form.
|CentOS / RHEL:||Set up my YUM repository or use RepoForge, then do "|
|Debian / Ubuntu:||Run "|
|Slackware:||Use this SlackBuild script.|
|Cygwin:||Available as a package. (Christian Franke)|
|FreeBSD:||Listed on FreshPorts.|
|OpenBSD:||Listed under ports.|
|Solaris:||Download binary packages from OpenCSW.|
|AIX:||An RPM from Pawel Piatek is in the downloads section.|
|Mac HomeBrew:||Run "|
|IRIX Nekoware:||Available in the Nekoware "beta" repository. (Mark Round)|
|Syabas PopcornHour:||Someone posted this port in a forum.|
(29 Nov 2013) - Lee Yiu Chung writes:
I tried to compile pv under SmartOS (a fork from OpenSolaris), but I found a compiler error that
struct stat is redefined.
After some tracing I found that
/usr/include/sys/stat.h have BOTH "
struct stat" and "
struct stat64" defined, and the "
define stat64 stat" macro in
autoconf/header.in happily replacing
stat, thus causing the compiler error.
As a result I have to modify
autoconf/header.in so that the offending macro is disabled in Solaris platform. Below is the diff file:
--- autoconf/header.in.orig 2013-08-01 03:39:15.000000000 +0800 +++ autoconf/header.in 2013-11-29 20:07:21.697885164 +0800 @@ -70,6 +70,7 @@ # define stat64 stat # define fstat64 fstat # endif +# elif defined(__sun) && defined(__SVR4) # else # define stat64 stat # define fstat64 fstat
Author notes: Large file support is not implemented very portably at the moment. I will try to fix it so it does not do things like redefining
stat in future, so this should be fixed in a future version. In the meantime please try the above patch that has been kindly supplied.
lstat64support when unavailable - separate patches supplied by Ganael Laplanche and Peter Korsgaard
-D" / "
--delay-start" to only show bar after N seconds (Damon Harper)
--fineta" / "
-I" to show ETA as time of day rather than time remaining - patch supplied by Erkki Seppälä (r147)
-e) so that days are given if the hours remaining are 24 or more (Jacek Wielemborek)
--watchfd PID, when PID exits
tests/016-numeric-timerin decimal "," locales
make rpm" and "
make srpm", extend "
make release" to sign releases
--watchfdto look at block devices
--watchfd PID:FDwork with
--watchfd- suggested by Jacek Wielemborek and "fdwatch"
--buffer-percent, suggested by Kim Krecht
--last-written, suggested by Kim Krecht
--null- patch supplied by Zing Shishak
-lc128) - with help from Pawel Piatek
-cfixes - with help from Pawel Piatek
splice()not using stdin - patch from Zev Weiss
-R" on Cygwin