htop-dev / htop

htop - an interactive process viewer
https://htop.dev/
GNU General Public License v2.0
6.33k stars 430 forks source link

Feature request: Add a display option "Hide zeros" #43

Open birdie-github opened 4 years ago

birdie-github commented 4 years ago

Please add an option to hide zeros from the output.

This way it's a lot easier to parse especially since many columns are zero most of the time (MEM and CPU).

Thank you!

Repost from: https://github.com/hishamhm/htop/issues/944

fasterit commented 3 years ago

Could be solved together with #224.

cgzones commented 3 years ago

In most columns zero values are colored grey (if supported by the terminal). Printing nothing might make it more difficult for users to match values in the middle of the screen to their columns.

birdie-github commented 3 years ago

Printing nothing might make it more difficult for users to match values in the middle of the screen to their columns.

I've been using top this way for years now and I've had zero troubles reading the information on the screen. Please implement.