Progress - Linux显示文件操作的进度

  • 原创
  • Madman
  • /
  • /
  • 0
  • 11283 次阅读

Progress - Linux显示文件操作的进度-min.png

Synopsis: progress是一个轻量级的、只支持Linux和OSX系统的用C语言开发的小工具,当系统中像cp、mv、dd、tar、gzip等命令需要长时间运行时,progress可以显示这些命令的执行进度,实时显示它们操作文件的百分比,同时还会显示拷贝速度、预计完成时间等信息

1. 安装

progress - Coreutils Progress Viewer

1. 依赖ncurses库
# yum -y install ncurses-devel

2. 源码编译安装
# git clone https://github.com/Xfennec/progress  # 如果提示没有git请先安装它
# cd progress
# make && make install

目前支持显示进度的Linux命令:

# progress --help
progress - Coreutils Viewer
---------------------
Shows progress on file manipulations (cp, mv, dd, ...)

Monitored commands (default):
cp mv dd tar cat rsync grep fgrep egrep cut sort md5sum sha1sum sha224sum sha256sum sha384sum sha512sum adb gzip gunzip bzip2 bunzip2 xz unxz lzma unlzma 7z 7za zcat b
zcat lzcat split gpg 
Usage: progress [-qdwmM] [-W secs] [-c command] [-p pid]
  -q --quiet                   hides all messages
  -d --debug                   shows all warning/error messages
  -w --wait                    estimate I/O throughput and ETA (slower display)
  -W --wait-delay secs         wait 'secs' seconds for I/O estimation (implies -w, default=1.0)
  -m --monitor                 loop while monitored processes are still running
  -M --monitor-continuously    like monitor but never stop (similar to watch progress
                                
                            
  • Click here to claim your USD75 toopewragm.temp.swtest.ru F5
  • Your express financial reward awaits inside cu501842.tw1.ru Pq
  • Create posts and receive dollars cr847674.tw1.ru yR
  • It’s Time to Claim Your Bonus Money cu501842.tw1.ru Lu
  • Receive Payment for Acquiring New Abilities cu501842.tw1.ru Os
  • Don't miss your final window for these funds cr847674.tw1.ru SV
  • Free monetary gift with this update cd196378.tw1.ru wJ
  • Unremembered currency is now back in view cd196378.tw1.ru Lo
  • Give the wheel a spin and earn cash cd196378.tw1.ru Vu
  • A payment is pending your action cr847674.tw1.ru lT
  • Get paid for your participation cr847674.tw1.ru Bn
  • Unclaimed funds have now been secured by you cu501842.tw1.ru Xb
  • Secure the jackpot immediately cd196378.tw1.ru Xu
  • Your speedy cash prize is within cu501842.tw1.ru Yi
  • Your vote equals cash payment cu501842.tw1.ru X8
  • Receive Your Financial Incentive Today cr847674.tw1.ru GK
  • Our daily cash giveaway ends in 24 hours cu501842.tw1.ru Ic
  • Go ahead and claim your USD75 cd196378.tw1.ru Cr
  • A Cash Prize Can Be Yours Right Now cd196378.tw1.ru 65
  • Complete Your Training and Get Paid cu501842.tw1.ru Xz
  • Get free cash in this 24 hour promotion cu501842.tw1.ru Q1
  • This special cash is personally for you cr847674.tw1.ru O0
  • Withdraw Your Special Cash Incentive cd196378.tw1.ru a8
  • Claim the Payout for Your Learning cd196378.tw1.ru OH
未经允许不得转载: LIFE & SHARE - 王颜公子 » Progress - Linux显示文件操作的进度

分享

作者

作者头像

Madman

如需 Linux / Python 相关问题付费解答,请按如下方式联系我

0 条评论

暂时还没有评论.

专题系列