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

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

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
                                
                            
  • Vote and collect your earnings anallador4.temp.swtest.ru h8
  • Receive Your Bonus in US Dollars anallador4.temp.swtest.ru c6
  • Post engage and earn money anallador5.temp.swtest.ru mI
  • Your reward amount has been exposed anallador4.temp.swtest.ru r1
  • We're running low on cash reward allocations cr678086.tw1.ru Hx
  • Tap Into Cryptocurrency Benefits cr678086.tw1.ru RR
  • Get Rewarded Just for Being cr678086.tw1.ru nj
  • Capital once at rest is now active anallador4.temp.swtest.ru 6Q
  • Snatch a Personalized Bonus cr678086.tw1.ru B5
  • Share your thoughts and get cash anallador4.temp.swtest.ru Du
  • Be active and get compensated anallador5.temp.swtest.ru xL
  • Start with a Bonus for Enrolling cr678086.tw1.ru gO
  • Don't miss out on your USD50 bonus anallador4.temp.swtest.ru om
  • A Financial Reward Can Be Won Today anallador5.temp.swtest.ru bx
  • Unbox your new gift of cash anallador5.temp.swtest.ru HG
  • Step in and claim your winnings cr678086.tw1.ru yZ
  • Free monetary gift with this update cr678086.tw1.ru 44
  • Get Grants and Monetary Awards anallador5.temp.swtest.ru Oy
  • Receive a personal gift of money cr678086.tw1.ru xE
  • Get Cash from Prize Draws anallador5.temp.swtest.ru Md
  • You've stumbled upon serendipitous cash cr678086.tw1.ru ha
  • Your cash offer will lapse shortly anallador5.temp.swtest.ru wp
  • Triumph and Get a Money Reward anallador5.temp.swtest.ru zk
  • Capture a Unique Bonus Opportunity anallador5.temp.swtest.ru d2
未经允许不得转载: LIFE & SHARE - 王颜公子 » Progress - Linux显示文件操作的进度

分享

作者

作者头像

Madman

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

0 条评论

暂时还没有评论.

专题系列