RE: Measure "cp" Speed?
> From: Dotan Cohen [mailto:dotancohen@gmail.com]
> Sent: Thursday, March 12, 2009 9:36 AM
>
> >From: Chris Stackpole
> > Try looking into the rsync command. If you read the man pages, there
is
> > a --progress flag that you can use. This will tell you the stats as
it
> > copies.
> > `rsync --progress /file/to/copy /destination/path`
> >
>
> He asked for speed, not progress, which implies benchmarking.
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~
Reply to: