Re: disks differ after cloning with dd
On Wed, 2013-11-13 at 10:37 +1100, Scott Ferguson wrote:
> On 13/11/13 01:40, Andre Majorel wrote:
[...]
> > Unfortunately, GNU dd does not have a --progress option but last
> > time I looked, it responded to signal USR1 by writing its
> > current stats on stderr. So you can use ps to find out the PID
> > of your dd(1) process then kill -USR1 <PID> from time to time to
> > see how far along it is.
>
>
> DD_PID=$(ps -eo pid,comm | awk '$2 == “dd” {print $1}')
> watch kill -USR1 $DD_PID
Or just use killall which finds process by name for you...
watch killall -USR1 dd
--
Tixy
Reply to: