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

Re: Measure "cp" Speed?



On Thu, Mar 12, 2009 at 05:42:32PM +0700, Zaki Akhmad wrote:
> Hello,
> 
> I am wondering, how do I measure the speed while I am doing cp command?

Speed of what, exactly?

Copying from where to where?

What is the size of the file?

If you try to copy it again, the file will likely be cached already, and
hence the copying will end much faster. Furthermore, cp may end before
the result is actually written to the target - it may be merely a bunch
of dirty blocks in some cache along the way (a cache of the OS and/or of
the disk controller)

-- 
Tzafrir Cohen         | tzafrir@jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir@cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend


Reply to: