bandwhich
bandwhich copied to clipboard
Units
Hello,
First of all thank you for this great utility.
Is there any possibility to switch units to bps (bits per second) since bitrate is usually expressed this way?
Thanks,
Hey - glad you like it.
Well, this was modeled after the bandwidth measurement I've seen in other places (eg. when you download in firefox, you see "1.5 MB/s"). Do you have an example where the rate is represented in bits?
Well, this is heavily used in video streaming. It makes sense if you are comparing measured against total bitrate which is always expressed as 100 Mbps, 1 Gbps, 10 Gbps etc.
If you think this is interesting it should be simple. Multiplication by 8, it could be done with additional flag. I would like to help.
Cool, sounds good. Let's have an optional --use-bits-unit flag that does this (unless you have a better name in mind, ofc :) ).
Thanks so much for taking this into consideration. I suppose whole thing regarding connection speed / bitrate is there due to legacy reasons but still you can't buy connection in MB/s :)
@imsnif on the latest release, the default unit of measurement is Bps. How can I change this to KBps for example or any other variant? Checked on help but no such flag to choose from. Thanks
Hey @macgeekpro - if the measurement is above 1000, the units should jump to the next order of magnitude. I just checked the latest version, and for me it works fine (I'm seeing KBps, MBps and GBps where relevant). Let me know if it behaves differently for you and we'll try to debug it.
@imsnif ah I see. That's an even better design that I never thought of. Thanks.
Hi all, please try out #328. You can either pull and build locally, or you can download the newest CI build.