Ratonland
Menu

Login

Webmail





PV: Pipe Viewer
Posted by bleader -- Saturday 31st of January 2009 11:14:53 AM
When you're copying a file on a network share for example, it tends to be slow, you'd sometimes like to know where you are.

Well even if the basic idea is just to monitor the speed of writing to a pipe in shell, you can actually use it to copy a file and monitor it's progress. It's quite nice and will avoid me to start Midnight Commander just to be able to see the speed of a copy.
pv source > /mnt/srv/destination
4.14GB 0:07:07 [8.96MB/s] [======> ] 52% ETA 0:06:26

PV's homepage.

Note for my dad: No, this has nothing to do with what you're thinking about... Unfortunately.
-- 0 comments --
Comments
No comments.
nick

comment
Start with "__raton_land" alone on first line