htop shows the name of process for all of its threads even a thread has a customized name. How should I force htop to displays customized name of threads?
Asked
Active
Viewed 2.8k times
21
Alexis Wilke
- 2,632
- 2
- 21
- 33
Barry Hayden
- 223
- 1
- 2
- 5
-
3What is a "customized name" of a thread? – muru Dec 20 '17 at 08:22
-
3The name which is set by `pthread_setname_np` function. – Barry Hayden Dec 20 '17 at 14:43
1 Answers
26
F2 → Display options → Show custom thread names
https://stackoverflow.com/questions/4461289/change-thread-name-on-linux-htop
Search terms "htop thread name", first result...
Murphy
- 1,617
- 13
- 24
-
23No need for snarky remarks, you are now the top 1 result on google. – algorithms May 19 '18 at 19:55