pv is a great tool. One of it's lesser known features is throttling; transfer a file without dominating your bandwidth: pv -L 200K bigfile.iso' Complete with a progress bar, speed, and ETA.
Pipe Viewer
41–50 of 51 posts
Re: Pipe Viewer
#42Re: Pipe Viewer
#43Another utility I found out about is “progress” available at least on debian systems. It can monitor stuff like cp and mv without actually being used in the command
Re: Pipe Viewer
#44It would be nice to indicate if the upstream or the downstream is the 'limiting' factor in speed. Ie. within pv, is it the reading the input stream or the writing the output stream that is blocking most of the time?
It's open source, be the change you want to see in the world
Re: Pipe Viewer
#45Re: Pipe Viewer
#46Re: Pipe Viewer
#47It would be nice to indicate if the upstream or the downstream is the 'limiting' factor in speed. Ie. within pv, is it the reading the input stream or the writing the output stream that is blocking most of the time?
Re: Pipe Viewer
#48Re: Pipe Viewer
#49It would be nice to indicate if the upstream or the downstream is the 'limiting' factor in speed. Ie. within pv, is it the reading the input stream or the writing the output stream that is blocking most of the time?
It's open source, be the change you want to see in the world
Re: Pipe Viewer
#50Earlier quoted context omitted.
How `pv -d` work ? Does it use perf probes or attach to the target PID ?
It finds the file using /proc/ /fd/ and watches its size grow. It doesn't work with pipes, devices, a file being overwritten (not appended to), or anything whose size doesn't grow.
1.5.2 - 10 February 2014 allow --watchfd to look at block devices
You can see the position in /proc//fdinfo/