Linux displays DD command progress

Source: Internet
Author: User

Today to use the DD command to make ISO files, 4.7GB CD, the capacity is a bit large. As you know, Linux executes commands with little support to show progress. In order to better see the execution of the command, it is best to show the progress of DD. There is a lot of information on the Internet, which is copied and pasted directly.

if=/dev/cdrom of=neokylin_linux_6. 6. iso

After you execute DD, you need to execute the command to show progress in another shell.

The first way: every 5 seconds to show progress, I redhat6.6 under the pro-test can actually be used.

5 PKILL-USR1 ^dd$

The second way:

5 KILLALL-USR1 DD

The Third Way:

 while  Do 5; Done

Fourth Way:

 while "  "'{print $}' |  while  Do  Do 5; Done

The above four methods use three commands: Pkill, Killall, kill to the DD command to send SIGUSR1 information, the DD command process after receiving the signal to print their current progress.

Linux displays DD command progress

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.