progress
1、解压缩安装包(git clone https://github.com/Xfennec/progress)
2、make编译
progress依赖ncurses-devel
3、安装ncurses-devel(需配好yum源)
[root@01dbpay001_dg /]# yum install ncurses-devel
Loaded plugins: product-id, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Server | 3.9 kB 00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ncurses-devel.x86_64 0:5.7-3.20090208.el6 will be installed
--> Finished Dependency Resolution
Dependencies resolved
=====================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================
Installing:
ncurses-devel x86_64 5.7-3.20090208.el6 Server 642 k
Transaction Summary
=====================================================================================================================
Install 1 Package(s)
Total download size: 642 k
Installed size: 1.7 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : ncurses-devel-5.7-3.20090208.el6.x86_64 1/1
Verifying : ncurses-devel-5.7-3.20090208.el6.x86_64 1/1
Installed:
ncurses-devel.x86_64 0:5.7-3.20090208.el6
Complete!
[root@01dbpay001_dg /]#
4、重新安装
5、使用方法
可以看到,该工具支持的命令有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, bzcat, lzcat, split, gpg
6、使用测试
在当前目录下创建一个文件名为file的1024M的空文件
用该工具可以看到创建的进度:
创建完成:
相关阅读
之前写过一篇关于图片上传的方法,不过那都是基于上传到本地服务器上的。跟视频有所不同,因为图片比较小并不考虑到并发量,所以性能这
小编推荐:最近看朋友的博客说同时进行八个项目焦头烂额,虽然八个项目一个人担听着就知道老板很扯淡,但是也提醒我们多个项目同时进行
linux 中在shell中使用 " . " 和 " ./ " 执行的区别 目前注意到的区别主要在于环境变量的作用域上: 1. 如果使用" ./ " 执行,可
小编推荐:随着各个PM加入创业大军,创业团队一小再小,关于团队管理再也不是高大上的总监、ceo才会考虑的问题了,大家如果在创业公司呆
计划在工作上的作用不言而喻。因此,如何在工作计划中设定可执行目标显得异常重要。每年年初、季初都是设定各项目或个人目标的时候