Did you know?

Table of Contents

Check process when using dd

Like most of you know the dd command is lacking output. When you are burning a image or similar to a USB stick is in general a long wait without knowing the progress.

What?

the command dd has know output when running for example:

sudo dd if=~/linuxmint-17.3-cinnamon-64bit.iso of=/dev/sdb1 oflag=direct  bs=1048576

shows no output, is just finished when done. for a slow USB disk or a large image that can be some time. But how to check the progress?

How

Actually is simple, you just need the right command. In fact its a kill command.

ps -ef | grep cinnamon | awk '{ print $2 }'

gives the PID for your dd command, next run:

sudo kill -USR1 ${pid}

Once execute it will show the progress on the terminal like this:

138+0 records in
138+0 records out
144703488 bytes (145 MB) copied, 32,8308 s, 4,4 MB/s

Thats all.

Share :

Related Posts

Did you know...

The Maven Site plugin uses by default the apt format. Although it is a simple and straight forward format I personally prefer the Confluence markup and DocBook. Confluence I use for my personal Wiki and at various projects I use DocBook for the documentation.

Read More

Did you know?

Submodules with git Just recently a was working on a presentation for a event that my boss organizes. I stumbled across a nice thing you can do with Git.

Read More

Forgot your password in RemoteNG?

Since I always have problems with remembering passwords and do like to generate those password managers are a bliss!

Read More