I have used the prctl(PR_SET_NAME,<null terminated string>,0,0,0) to change the name of the pthread created using the pthread_create() function, you can consider the LWP(light weight process) names can be changed using this. I have checked that the changed name using prctl(PR_GET_NAME,<empty char array>,0,0,0), which is showing the new name for the thread.
When I want to see in the terminal to display the thread name using the command ps -eLf or ps H, it doesn't showing the thread names.
Could you please help me witht he comman how can I see the thread names, or using which I can display the thread name in terminal
I am using the Fedora-7