[plug] dd progress indicator

Brad Campbell brad at wasp.net.au
Wed Sep 15 15:23:09 WST 2004


Cameron Patrick wrote:
> Brad Campbell wrote:
> 
> 
>>Here is a different way to divest the feline of pelt.
>>dd if=/server/store/ISO/Win2k.iso | pipebench | dd of=/raid0/Win2k.iso
>>Speed and progress indicator in 1 !
> 
> 
> There is but one flaw to this cunning plan:
> 
> # apt-get install pipebench
> Reading Package Lists... Done
> Building Dependency Tree... Done
> E: Couldn't find package pipebench
> 

Actually, in addition to that the process does not terminate itself when the transfer is complete. 
I'll have to look at that a bit further.

I use it to squirt large images between two locations over wireless. I have an nfs mount between 
them but I have had much faster, more consistent results using nc :p)

brad at tv:~$ nc -l -p 5050 | pipebench -b 16384 > /raid0/Win2k-SP3.iso
00h15m31.32s:  371.87 MB  400.00 kB/second (Wed Sep 15 09:59:16 2004)

bklaptop:~>cat /server/store/ISOS/Win2k-SP3.iso | pipebench -b 16384 | nc 192.168.2.81 5050
Summary:
Piped  371.88 MB in 00h15m40.85s:  404.74 kB/second

I do have to shut it down at the end of the transfer with ctrl-c on the sending side though.

Brad



More information about the plug mailing list