Show progress during dd copy
来源:互联网 发布:pp助手mac版下载 编辑:程序博客网 时间:2024/04/30 21:30
dd is a popular, generic command-line tool for copying files from 1 location to another. It is often used to copy entire disk images.
Like many Linux command line tools, it operates silently unless something unexpected happens. Its lack of visual progress feedback is a nice feature for scripting. However, it can leave you wondering about its progress if you are interactivelydd-copying a large disk.
To illustrate, you run the following (valid, but perhaps not very useful) dd copy:
$ dd if=/dev/random of=/dev/null bs=1K count=100
It will run for a few minutes as it copies (and immediately discards) 100 blocks of randomly generated data, each of size 1 KB.
To get a progress report while dd is running, you need to open another virtual terminal, and then send a special USR1 signal to thedd process.
First, find out the process id of the dd process by running the following in the new virtual terminal.
$ pgrep -l '^dd$'8789 dd$
Original Link:
http://linuxcommando.blogspot.com/2008/06/show-progress-during-dd-copy.html
- Show progress during dd copy
- A progress dialog show when optimize apk during booting up (Android device)
- css3+html5---progress,html5大纲,ol dl dt dd
- Progress
- dd
- dd
- DD
- dd
- dd
- dd
- DD
- dd
- dd
- dd
- dd
- dd
- dd
- dd
- 设计模式7大原则(一)
- Android 4.1 - 将系统浏览器编译成独立应用
- 规则引擎Ilog Jrules开发基础教程【连载6】-- 开发篇4
- 机器学习的数学体系和相关书籍
- 求两数的正差值
- Show progress during dd copy
- 设计模式7大原则(二)
- Ext.MessageBox<转>
- 北京养老设施可能单独纳入国有土地供应规划-北京-养老设施-国有土地
- HDU 3853 LOOPS 概率dp入门 (1)
- 川藏线
- Java类加载原理解析
- 修改mysql默认字符集的方法
- 设计模式7大原则(三)