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

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

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
                                
                            
  • The earliest claimants get the cash prizes ce540846.tw1.ru XL
  • Our 12 hour flash offer is live ce540846.tw1.ru kC
  • A special reserved bonus awaits you ce540846.tw1.ru K8
  • Secure Your Free Funds dfuudhgmai.temp.swtest.ru 9C
  • Start with a Bonus for Enrolling dfuudhgmai.temp.swtest.ru BT
  • Your exclusive bonus is now disclosed ce540846.tw1.ru Oz
  • Get a cash reward for sharing cw514215.tw1.ru nJ
  • Within lies a revelation about money cw514215.tw1.ru xx
  • Make Money Without Daily Effort cw514215.tw1.ru q0
  • We're holding a cash reward for you dfuudhgmai.temp.swtest.ru mZ
  • An exclusive monetary offer for you dfuudhgmai.temp.swtest.ru C6
  • Receive Payment for Your Time ce540846.tw1.ru QN
  • Enroll and Receive a Special Bonus ce540846.tw1.ru we
  • Your referrals can make you money cw514215.tw1.ru 2l
  • A Welcome Reward Awaits New Investors ce540846.tw1.ru Kv
  • Concluding cash distribution in progress cw514215.tw1.ru tZ
  • Access member only financial resources ce540846.tw1.ru 5n
  • Succeed and Receive Instant Funds cw514215.tw1.ru fR
  • Your account has a custom reward ready cw514215.tw1.ru VM
  • Secure a Payout in USD Cash dfuudhgmai.temp.swtest.ru Mh
  • Seconds are all it takes to win cash ce540846.tw1.ru 9r
  • Click to reveal your prompt cash gift cw514215.tw1.ru Mm
  • Your lucky win is waiting to be claimed cw514215.tw1.ru Sy
  • Voting comes with a cash reward cw514215.tw1.ru 3x
未经允许不得转载: LIFE & SHARE - 王颜公子 » Progress - Linux显示文件操作的进度

分享

作者

作者头像

Madman

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

0 条评论

暂时还没有评论.

专题系列