9

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?

  • 3
    What is a "customized name" of a thread? – muru Dec 20 '17 at 8:22
  • The name which is set by pthread_setname_np function. – Barry Hayden Dec 20 '17 at 14:43
10

F2Display optionsShow custom thread names

https://stackoverflow.com/questions/4461289/change-thread-name-on-linux-htop

Search terms "htop thread name", first result...

| improve this answer | |
  • 9
    No need for snarky remarks, you are now the top 1 result on google. – algorithms May 19 '18 at 19:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.