Jan
21
2013
report dd status via kill

I am doing a rather large dd and its being a long time (over 30minutes) so far.

How can i find the status of dd ?

at hsgr someone is telling me: KILL KILL KILL

searching through dd manual page, i came up with:

Sending a USR1 signal to a running ‘dd’ process makes it print I/O statistics to standard error and then resume copying.

eg.

# kill -USR1 5579

on the dd terminal:

7626752+0 records in
7626752+0 records out
3904897024 bytes (3,9 GB) copied, 2442,27 s, 1,6 MB/s

for more info

man 7 signal
Tag(s): dd, kill
  1. Avatar di abiheiri abiheiri

    Tuesday, January 22, 2013 - 04:30:39

    some OS accept “kill -INFO [pid]” too.