Fedora Linux Support Community & Resources Center
  #1  
Old 11th March 2008, 11:06 AM
zi_au Offline
Registered User
 
Join Date: Mar 2008
Posts: 2
Exclamation How to Display the pthread names?

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

Thanks
Zia
Reply With Quote
  #2  
Old 11th March 2008, 08:36 PM
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 5,599
Have you tried ps axms ?
Reply With Quote
  #3  
Old 12th March 2008, 08:17 AM
zi_au Offline
Registered User
 
Join Date: Mar 2008
Posts: 2
I have tried the ps with all option almost, which is not showing any pthread LWP process names
Reply With Quote
Reply

Tags
display, names, pthread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Japanese file names wont display F10 Saint Mike Using Fedora 1 8th December 2008 04:15 AM
FC7 Rhythmbox: wrong display of non-ASCII track names Sagari Using Fedora 0 24th August 2007 03:40 AM
Pthread issues TerjeG Using Fedora 1 18th February 2007 07:45 PM
pthread aggravation... Pazuzu Using Fedora 0 21st December 2006 05:21 PM
pthread id and process id ckmun81 Using Fedora 0 20th November 2006 02:32 AM


Current GMT-time: 07:28 (Wednesday, 23-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat