How to see thread name in htop?

21,706

F2Display optionsShow custom thread names

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

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

Share:
21,706

Related videos on Youtube

Barry Hayden
Author by

Barry Hayden

Updated on September 18, 2022

Comments

  • Barry Hayden
    Barry Hayden over 1 year

    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?

    • muru
      muru over 6 years
      What is a "customized name" of a thread?
    • Barry Hayden
      Barry Hayden over 6 years
      The name which is set by pthread_setname_np function.
  • algorithms
    algorithms almost 6 years
    No need for snarky remarks, you are now the top 1 result on google.