I have found that this already been requested in many places:
http://stackoverflow.com/questions/33269339/htop-process-viewer-set-column-width
http://serverfault.com/questions/740496/htop-cgroup-column-widen/740533
https://sourceforge.net/p/htop/mailman/message/28195775/
http://askubuntu.com/questions/827824/how-to-fix-htops-cgroup-column-width
Thank you for the round-up. I'll look into it for a future release.
+1 on this. The user ids on the machine I'm working on all use a common prefix that is 7 characters wide. That only leaves 2 characters of visible unique uid. Has anyone submitted a patch for this? If not, I may be able to look into it. Thanks!
I am starting to hit jail name column width limit I set, as well. @hishamhm would you be willing to design solution so that there can be resizable/configurable column width?
So asset
I found a bit of a work-around. If you hit 'u', you can see the full width id of all users with running processes. Then you can choose the one you want to see only their processes. Then at least I know who the people are (so that I can mail them and ask them to stop slamming a multi-user login host).
Well anybody can just go on, and resize all the column buffers and respective format strings, but at some point it would be great, if there was a way to unify this for all the columns.
For example, I personally thought cca. 16 chars for jail must be enough - turns out that was stupid assumption (similar to DOS 8.3 file names). Some servers with more complex jail setups (and jail names) are already not fitting inside that.
EDIT:
So that it is clear, I apologize to anyone, who hit this sooner than me, for picking such value randomly without no analysis whatsoever.
Seems there are other problematic columns as well.
I think, it would be best by now, to start thinking how to accommodate "lenghty" column names in general in whole htop.
If you are interested in a patch, see
https://patch-diff.githubusercontent.com/raw/hishamhm/htop/pull/951
Most helpful comment
Well anybody can just go on, and resize all the column buffers and respective format strings, but at some point it would be great, if there was a way to unify this for all the columns.
For example, I personally thought cca. 16 chars for jail must be enough - turns out that was stupid assumption (similar to DOS 8.3 file names). Some servers with more complex jail setups (and jail names) are already not fitting inside that.
EDIT:
So that it is clear, I apologize to anyone, who hit this sooner than me, for picking such value randomly without no analysis whatsoever.
Seems there are other problematic columns as well.
I think, it would be best by now, to start thinking how to accommodate "lenghty" column names in general in whole htop.