On Tue,  5 May 2020 08:37:41 -0700
Eric Dumazet <eduma...@google.com> wrote:

> Also use 'g' specifier instead of 'f' to remove trailing zeros,
> and increase precision.
> 
> Examples of output :
>  Before        After
>  8.0Kbps       8Kbps
>  9.9Mbps       9.92Mbps
>  55001Mbps     55Gbps
> 
> Signed-off-by: Eric Dumazet <eduma...@google.com>

Applied, and add terrabit as well.

It looks like tc and ss are not the same in suffix here.

https://en.wikipedia.org/wiki/Data-rate_units

kilobit per sec  = kbit/sec or kb/s = kbps
kilobyte per sec = kB/s
megabit per sec  = Mbit/sec or Mb/s = Mbps

For now, lets get ss to follow the standard. 
That means "kbps" instead of "Kbps"


Reply via email to