Re:Linux tool to show progress for cp, mv, dd
by tylerchr on Friday May 19, 2023 @12:05PM
(#36003543)
pv is invaluable but my issue with it is it’s only useful if you think to include it before you run the command. Usually the thought doesn’t occur to me until I have some runaway cp or dd and I want to be reassured that it’s going to be done soon. For that case that this looks super interesting.
You can attach pv to an existing process. IIRC it's the -p option.
Re:Linux tool to show progress for cp, mv, dd
by everybodyknows on Saturday May 20, 2023 @03:29PM
(#36014820)
-p is same as "--progess":
Ah, it was -d I was thinking of. Anyway, the point is that you can run pv retrospectively just fine while your slow command is running.
http://www.ivarch.com/programs/pv.shtml