2

Are there any alternatives to pv?

I'd like to see the current transfer rate of a data pipe, a progress bar and an estimated completion time. Any other tools that can do that?

HopelessN00b
  • 53,385
  • 32
  • 133
  • 208
Till Ulen
  • 123
  • 4

2 Answers2

2

There is another program called bar that also provides this functionality.

Bar is a simple tool to copy a stream of data and print a display for the user on stderr showing (a) the amount of data passed, (b) the throughput of the data transfer, and (c) the transfer time, or, if the total size of the data stream is known, the estimated time remaining, what percentage of the data transfer has been completed, and a progress bar.

Of course, pv can do what you're asking for with -r -p -e (you may have missed the -s option?) and I never felt a good reason to use bar over pv.

Samuel Edwin Ward
  • 2,193
  • 2
  • 13
  • 12
  • Thanks! My `pv` (version 1.1.4) shows everything by default, and I do use `-s` when necessary. Just being curious whether there are any interesting alternatives. So far, `pv` users outnumber `bar` users according to Debian popularity contest. – Till Ulen Aug 22 '12 at 05:32
1

If you are using Debian or Ubuntu, try the package "vbuf". It's not a progress BAR, since that would need to know what 100% means. But it does show bytes, recent rate, and total rate. You just insert the vbuf command in the middle of your pipeline.

Disclaimer: I am the author of vbuf and libvrb.

Skaperen
  • 1,064
  • 2
  • 11
  • 21