Htop: Suggestion: Compact numbers display.

Created on 4 Apr 2019  路  2Comments  路  Source: hishamhm/htop

Only use the first 3 digits, and use k/M/G to replace the decimal point.
In this way, the columns are more compact (only 4 characters), and more recognizable when colors are unavailable.
Example:
0-9999 bytes is not changed.
10000->10k0
1230k->1M23
12300k->12M3
123000k->123M
1230000k->1G23

Most helpful comment

like unix df -h command:
1.8G
162G
379M

All 2 comments

like unix df -h command:
1.8G
162G
379M

I think that mine is better since it always has 3 effective digits. Plus You can easily tell that "12M3" is about 12M.
(It is particularly inspired by how the Chinese say numbers unofficially.)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

der-stefan picture der-stefan  路  5Comments

brendangregg picture brendangregg  路  8Comments

RalfJung picture RalfJung  路  4Comments

sbibauw picture sbibauw  路  7Comments

marcelpaulo picture marcelpaulo  路  3Comments