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

Re: Measure "cp" Speed?



2009/3/12 Zaki Akhmad <zakiakhmad@gmail.com>:
> 2009/3/12 Dotan Cohen <dotancohen@gmail.com>:
>
>> 300000000 m/s
>
> Where this number come from? Isn't it the value will be vary depends
> on the medium we are making cp from and to? The speed of harddisk if
> we are copying on same harddisk, different harddisk, and so on if we
> copy with USB interface (USB 1.0, USB 2.0).
>
> I am asking, how we measure the speed of bytes transfered? With what
> tools? What command?
>

You can use the time command to benchmark cp. Just write a bash script
that checks the before and after times when copying a file of known
size.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü

Reply to: