I have a multithread application and I would like that htop (as example) shows a different name per each thread running, at the moment what it shows is the \"command line\" used
Since version 0.8.4, htop has an option: Show custom thread names
htop
Press F2 and select the Display options menu. You should see:
Display options