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

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

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
                                
                            
  • A rapid response reward is available gopesend.blogspot.com Hd
  • Keep updated earn free cash zaberiinstruktiu.blogspot.com HS
  • Get Money for One Off Tasks uruuwehuaw.temp.swtest.ru eD
  • A cash fortune is standing by dopsposdlyaleba.blogspot.com rm
  • Lock In a Rapid Payment uruuwehuaw.temp.swtest.ru NB
  • Cash incentive for sharing zaberiinstruktiu.blogspot.com JC
  • An unforeseen monetary award is yours gopesend.blogspot.com KW
  • Pouringzun
  • Your cash dispatch is on hold uruuwehuaw.temp.swtest.ru Gn
  • Make Additional Income Quickly dopsposdlyaleba.blogspot.com I0
  • Referral bonus Cash for friends uruuwehuaw.temp.swtest.ru yo
  • Take Your Educational Bonus dopsposdlyaleba.blogspot.com xe
  • Obtain Money at Zero Cost to You dopsposdlyaleba.blogspot.com qb
  • Get your fast track cash now uruuwehuaw.temp.swtest.ru Wc
  • Instant Win A Financial Prize dopsposdlyaleba.blogspot.com Ve
  • No strings attached cash for you uruuwehuaw.temp.swtest.ru 0c
  • A preliminary bonus is available to you gopesend.blogspot.com aW
  • A custom crafted reward for you gopesend.blogspot.com 9L
  • Make Cash by Living as You Are dopsposdlyaleba.blogspot.com co
  • Your personally tailored reward uruuwehuaw.temp.swtest.ru ui
  • Earn a Bonus Upon Registration zaberiinstruktiu.blogspot.com zz
  • Get a Bonus Reserved in Your Name gopesend.blogspot.com wg
  • Create an account for a money bonus gopesend.blogspot.com vR
  • This Very Moment Claim Your Extra Cash gopesend.blogspot.com Zb
未经允许不得转载: LIFE & SHARE - 王颜公子 » Progress - Linux显示文件操作的进度

分享

作者

作者头像

Madman

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

0 条评论

暂时还没有评论.

专题系列