Bug 6597 - Add Kib/s Mib/s indicators to last line message: sent NNN bytes...
Add Kib/s Mib/s indicators to last line message: sent NNN bytes...
Status: RESOLVED WONTFIX
Product: rsync
Classification: Unclassified
Component: core
3.0.6
Other Windows XP
: P3 enhancement
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-01 06:16 UTC by Jari Aalto
Modified: 2009-09-05 12:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jari Aalto 2009-08-01 06:16:18 UTC
In verbose mode the last line prints:

Cf. Debian bug / wishlist: http://bugs.debian.org/539483

In verbose mode the last line prints:

   sent 619183 bytes  received 1846 bytes  253480.12 bytes/sec

SUGGESTION

Please add Kib/s (whole number) and Mib/s (whole number with one
decimal value) calculations too. An example:

   sent 619183 bytes  received 1846 bytes  253480.12 b/s 253 K/b 0.3 M/s
                                                     ===================
Comment 1 Wayne Davison 2009-08-01 13:39:07 UTC
One option is to use the -h (--human-readable) option, and rsync will output that value (along with a bunch of other ones) in larger units.  E.g., your example would output something like 253K bytes/sec.
Comment 2 Wayne Davison 2009-09-05 11:56:07 UTC
I think the option of using --human-readable is adequate.
Comment 3 Jari Aalto 2009-09-05 12:57:00 UTC
Please update the indicator to use IEEE standard KiB (Not K/b etc) or ISO Kb/s, Mb/s if that is the unit in question.

-- Jari