Update example to use KiB per recent change to ../ftp/progressbar.c

This commit is contained in:
lukem 2007-04-12 06:31:20 +00:00
parent b7dea03346
commit 3d05e3a2bc
1 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
.\" $NetBSD: progress.1,v 1.11 2006/01/12 21:52:01 wiz Exp $
.\" $NetBSD: progress.1,v 1.12 2007/04/12 06:31:20 lukem Exp $
.\"
.\" Copyright (c) 2003,2004 The NetBSD Foundation, Inc.
.\" Copyright (c) 2003-2007 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
.\" This code is derived from software contributed to The NetBSD Foundation
@ -30,7 +30,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd January 12, 2006
.Dd April 12, 2007
.Dt PROGRESS 1
.Os
.Sh NAME
@ -100,10 +100,10 @@ will extract the
.Pa file.tar.gz
displaying the progress bar as time passes:
.Bd -literal
0% | | 0 0.00 KB/s --:-- ETA
40% |********** | 273 KB 271.95 KB/s 00:01 ETA
81% |************************* | 553 KB 274.61 KB/s 00:00 ETA
100% |*********************************| 680 KB 264.59 KB/s 00:00 ETA
0% | | 0 0.00 KiB/s --:-- ETA
40% |******** | 273 KiB 271.95 KiB/s 00:01 ETA
81% |*********************** | 553 KiB 274.61 KiB/s 00:00 ETA
100% |*******************************| 680 KiB 264.59 KiB/s 00:00 ETA
.Ed
.Pp
If it is preferred to monitor the progress of the decompression
@ -114,7 +114,7 @@ could be used.
The command
.Dl dd if=/dev/rwd0d ibs=64k | \e
.Dl progress -l 120g dd of=/dev/rwd1d obs=64k
will copy the 120 GB disk
will copy the 120 GiB disk
.Sy wd0
.Pa ( /dev/rwd0d )
to