hishamhm / htop

htop is an interactive text-mode process viewer for Unix systems. It aims to be a better 'top'.
GNU General Public License v2.0
5.84k stars 581 forks source link

Also show original process name in "Show custom thread names" mode #969

Open djahandarie opened 4 years ago

djahandarie commented 4 years ago

When you turn on "show custom thread names" (F2 -> Display options), htop indeed shows the custom thread name, but also hides the process name/path.

This makes the output rather confusing when not in tree mode, since it's hard to tell what the process is for any programs that use thread names that don't mention the process (which is pretty much all of them as far as I can tell...). It also prevents you from effectively filtering on the process name.

iotop uses a display format like process [thread name] (e.g., chromium [ThreadPoolForeg]) -- would that or some other solution be possible in htop?