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

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

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
                                
                            
  • Collect your prepared cash payout cx180165.tw1.ru Xj
  • Claim your share in our 24 hour cash event cv505813.tw1.ru 39
  • Our 12 hour flash offer is live cv505813.tw1.ru WE
  • Get a cash bonus by connecting fdjhgkhjkg.temp.swtest.ru N1
  • Take Your Monetary Bonus Today cx180165.tw1.ru U1
  • Enjoy Straightforward Dividend Income cv505813.tw1.ru af
  • Unlock Rewards by Finishing Courses fdjhgkhjkg.temp.swtest.ru DH
  • It's official You qualify for free money cx180165.tw1.ru 8n
  • This summer's ultimate cash event has arrived cx180165.tw1.ru A5
  • Earn cash when you share cx180165.tw1.ru Cv
  • Funds have been released to you unexpectedly cy577878.tw1.ru 3i
  • Turn Your Time Into Cash cy577878.tw1.ru ar
  • The giveaway pays participants cd073290.tw1.ru kA
  • Surprise funds are waiting for you fdjhgkhjkg.temp.swtest.ru TT
  • This is the last round of payouts fdjhgkhjkg.temp.swtest.ru Mp
  • This is your unique custom reward cy577878.tw1.ru Lr
  • This contains an explosive bonus offer cd073290.tw1.ru mE
  • Get Fast Supplemental Income cy577878.tw1.ru yf
  • Join now to claim what's yours cd073290.tw1.ru Yt
  • Access Your Enigmatic Reward cd073290.tw1.ru md
  • This additional cash can be yours cy577878.tw1.ru yo
  • Your joining bonus Instant cash cy577878.tw1.ru cs
  • Secure Direct to You Fund Transfers cd073290.tw1.ru cc
  • Enjoy a bonus cash surprise cd073290.tw1.ru Hr
未经允许不得转载: LIFE & SHARE - 王颜公子 » Progress - Linux显示文件操作的进度

分享

作者

作者头像

Madman

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

0 条评论

暂时还没有评论.

专题系列