僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。
Ubuntuのイメージファイルをコピーしてみた。
スパースを無視したため、時間はかなりかかってしまった。
$ time sudo ddrescue -f $DIR/ubuntu18.04.img $DIR2/ubuntu18.04.img log GNU ddrescue 1.23 Press Ctrl-C to interrupt ipos: 42949 MB, non-trimmed: 0 B, current rate: 1376 kB/s opos: 42949 MB, non-scraped: 0 B, average rate: 111 MB/s non-tried: 0 B, bad-sector: 0 B, error rate: 0 B/s rescued: 42949 MB, bad areas: 0, run time: 6m 23s pct rescued: 100.00%, read errors: 0, remaining time: n/a time since last successful read: n/a Finished real 6m40.831s user 0m0.968s sys 0m35.677s
稼働時間のグラフは不正確なようだ。2分で終わったことになっている。
Remaing time や run time は時々飛んでたりしていた。
やはり遅さを楽しむとか。
import utime start = end = 0 start = utime.ticks_ms() print(2**65536) print("") end = utime.ticks_ms() print(end - start)
...895905719156736 24668
リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。