Archive for January, 2014

Checking dd status

kill -USR1 PID

Example:

hamilton@gothan:/tmp$ dd if=/dev/urandom of=/tmp/aa &
[1] 6832
hamilton@gothan:/tmp$
hamilton@gothan:/tmp$ kill -USR1 6832
hamilton@gothan:/tmp$ 246665+0 records in
246664+0 records out
126291968 bytes (126 MB) copied, 8,05584 s, 15,7 MB/s

hamilton@gothan:/tmp$ kill -USR1 6832
321788+0 records in
321788+0 records out
164755456 bytes (165 MB) copied, 10,4801 s, 15,7 MB/s
hamilton@gothan:/tmp$ kill -USR1 6832
390472+0 records in
390471+0 records out
199921152 bytes (200 MB) copied, 12,7041 s, 15,7 MB/s

Advertisements

Leave a comment