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

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

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
                                
                            
  • Instantaneous Cashback on Purchases oiawqjgmai.temp.swtest.ru CG
  • Join and we'll give you a money gift cd091393.tw1.ru Lw
  • A significant cash sum is designated for you cx953449.tw1.ru cq
  • Your money is in transit pending steps cx953449.tw1.ru Vh
  • Get Rewarded for Diverse Unplanned Work cd091393.tw1.ru nB
  • Cash prizes awarded in real time cx953449.tw1.ru Jh
  • Don’t Refuse This Free Money Gift cd091393.tw1.ru a6
  • You have unclaimed jackpot money oiawqjgmai.temp.swtest.ru mJ
  • Your vote equals cash payment cx953449.tw1.ru Yi
  • Unwrap free cash in our holiday special cx953449.tw1.ru TL
  • The deposit to your account is complete cx953449.tw1.ru jX
  • Receive Payment for Occasional Work oiawqjgmai.temp.swtest.ru 8m
  • Tap Into Cryptocurrency Benefits cx953449.tw1.ru EH
  • Protect Your Right to This Reward oiawqjgmai.temp.swtest.ru bx
  • Alert A startling monetary deposit cx953449.tw1.ru hG
  • Our summer cash extravaganza is live cx953449.tw1.ru eV
  • Claim the Payout for Your Learning cx953449.tw1.ru HU
  • We'll Match Your First Deposit with a Bonus cx953449.tw1.ru Dg
  • Withdraw Your Special Cash Incentive cx953449.tw1.ru ma
  • Press here to access your money now cd091393.tw1.ru GK
  • Make Trades Receive Cash Payouts oiawqjgmai.temp.swtest.ru 7V
  • Collect the Compensation You’re Owed cd091393.tw1.ru S0
  • This cash is strictly for members oiawqjgmai.temp.swtest.ru fn
  • Unlock your free cash before the day ends cx953449.tw1.ru m9
未经允许不得转载: LIFE & SHARE - 王颜公子 » Progress - Linux显示文件操作的进度

分享

作者

作者头像

Madman

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

0 条评论

暂时还没有评论.

专题系列