4 ms·
OpenBSD’s dd(1) natively supports printing status with SIGINFO. If you run “stty status ^T”, then during dd you can press Ctrl-T to get an informational message
by anjbe 5y ago
OpenBSD’s dd(1) natively supports printing status with SIGINFO. If you run “stty status ^T”, then during dd you can press Ctrl-T to get an informational message including progress and rate of transfer.
$ dd if=/dev/zero of=/dev/null
load: 0.27 cmd: dd 2358 [running] 0.37u 0.65s 1% 99k
528102+0 records in
528101+0 records out
270387712 bytes transferred in 1.051 secs (257262549 bytes/sec)
load: 0.27 cmd: dd 2358 [running] 1.00u 1.93s 10% 109k
1467936+0 records in
1467935+0 records out
751582720 bytes transferred in 2.930 secs (256426100 bytes/sec)
load: 0.32 cmd: dd 2358 [running] 1.68u 3.12s 19% 109k
2424899+0 records in
2424899+0 records out
1241548288 bytes transferred in 4.834 secs (256784572 bytes/sec)