Skip to content

Monitor progress of large dd process

wordpress meta

title: 'Monitor progress of large dd process'
date: '2017-10-20T06:52:31-05:00'
status: publish
permalink: /monitor-progress-of-large-dd-process
author: admin
excerpt: ''
type: post
id: 1142
    - Unix
tag: []
post_format: []

If you want to see how a large copy is proceeding you can send -USR1 to the process.


# dd if=a.img of=/dev/libvirt_lvm/a-os

In a new terminal send -USR1 to the process or even use watch if you like.

# watch -n60 'kill -USR1 $(pgrep ^dd)'

The copy will start showing some progress lines after each -USR1 received.

6370041+0 records in
6370041+0 records out
3261460992 bytes (3.3 GB) copied, 247.17 s, 13.2 MB/s