Date: Sun, 08 Jul 2018 21:08:23 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229615] [patch] bin/dd: add status=progress support Message-ID: <bug-229615-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229615 Bug ID: 229615 Summary: [patch] bin/dd: add status=3Dprogress support Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: tom@hur.st Created attachment 194964 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194964&action= =3Dedit Patch against CURRENT This adds a simple single-line per-second progress report to dd, mirroring similar functionality in GNU dd: -% ./dd status=3Dprogress if=3D/dev/zero of=3D/dev/null 4506408960 bytes transferred in 6 secs (750235686 bytes/sec) load: 0.72 cmd: dd 91308 [running] 6.90r 0.86u 5.95s 52% 1772k 10116733+0 records in 10116733+0 records out 5179767296 bytes transferred in 6.904121 secs (750242848 bytes/sec) 9006898688 bytes transferred in 12 secs (750133815 bytes/sec)^C 19004509+0 records in 19004508+0 records out 9730308096 bytes transferred in 12.972017 secs (750099839 bytes/sec) I hit ^T at 6.9 seconds, to demonstrate it behaves well with the SIGINFO handler. Included are patches against 11-STABLE, and an untested patch against CURRE= NT (doesn't build on my 11.1 machine due to missing capsicum header). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229615-227>