[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Measure "cp" Speed?



Stackpole, Chris schreef:
> His exact question was "how do I measure the speed while I am doing cp
> command?"
> 
> I took the 'while' to mean 'as the cp command runs' aka progress during
> the transfer. As for benchmarking, when rsync finishes it prints out
> messages like:
> 
> sent 17580260 bytes  received 50 bytes  11720206.67 bytes/sec
> total size is 17577963  speedup is 1.00
> 
> That is perfect information for benchmarking. It gives how much was
> transferred and at what speed in bytes/second.
> 
> ~S~
For benchmarking, I'd use hdparm -tT /dev/yourdevice. Gives you both
cached and uncached performance.
If you want to know how long you still have to be patient, use the
suggested rsync -P

Sjoerd



-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: