Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Support Tera prefix (and maybe even Peta and Exa) with -U and -u #13

Open
xtaran opened this issue Nov 3, 2021 · 1 comment

Comments

@xtaran
Copy link

xtaran commented Nov 3, 2021

Hi,

nload currently shows me on a host with just two weeks of uptime:

Ttl: 37505.16 GByte

This should better be displayed like this:

Ttl: 37.50 TByte

Currently -U only supports unit prefixes up to G for "Giga". Adding T for Tera (and maybe even already P for Peta and E for Exa) would be helpful.

And given that there are off-the-shelf 400 GBit/s network interfaces out there, supporting the Tera unit prefix for -u starts to make sense as well.

@Low-power
Copy link

Low-power commented May 24, 2022

Hello.

Units tebibit, tebibyte, pebibit, pebibyte, terabit, terabyte, petabit and petabyte has been added in #6.

Here's an example of nload -u Hi on my machine:
nload-with-tebibyte-unit.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants