htop
htop copied to clipboard
`DISK READ`/`DISK WRITE` column changes
The columns DISK READ
and DISK WRITE
currently show as %5.2f %sB/s
like e.g. 0.00 B/s
. This makes those columns quite long compared to other columns. Also showing whole bytes with two significant digits is somewhat unnecessary precision.
What about shortening the column labels to RDISK
/WDISK
and the display of the actual column value as follows:
- Values below 1KiB/s are shaded
- Values below 1KiB/s displayed in bytes
- Starting with 1KiB/s values receive 3-4 significant digits and the usual unit suffices.
- Shading of MiB/s, GiB/s and TiB/s done similar to normal byte counts.
Currently each of the two column takes up 10 characters, when similar columns like RCHAR
/WCHAR
(Number of bytes read/written) use 5 chars.
Hey, would love to take this up if there hasn't been any work done on it yet as this looks like a good starting point to get into this repo.
Has there been any further discussion on this on any other PRs?
There has not been any further discussion I'm aware of. Usually issues are heavily cross-referenced, thus if nothing shows here, it's unlikely there was essential discussion.
Thus feel free to take this one up. There's some documentation on the code style available in the docs folder. Also don't hesitate to ask if you've got any questions.
Do you still want to work on this @NikhilReddy-2? If not I would gladly give it a try. From what I saw on the main branch, the proposed changes weren't done yet.