LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-29-2006, 11:24 AM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
unix command thread status similar to ps


Is there a unix command to display thread status which is similar to ps which display process status?
 
Old 09-29-2006, 11:48 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 790Reputation: 790Reputation: 790Reputation: 790Reputation: 790Reputation: 790Reputation: 790
ps exists in Unix but doesn't list threads as you've found.

In Linux they decided to start listing the threads in standard ps output some time back (in fact I have one RHEL 3 system that does this and one that doesn't because they have slightly different 2.4 kernel versions). However in UNIX they don't do this.

It would depend a lot on which Unix variant you're using. For HP-UX (Hewlett Packard's UNIX variant) there is a utility called Glance that will show you thread information. There are likely others for other variants.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thread Status.. How to know...??? rajsun Programming 4 05-12-2005 12:23 AM
Status of thread iftiuk Programming 1 07-29-2004 06:50 PM
Thread status? LinuxLala LQ Suggestions & Feedback 11 01-19-2004 01:10 AM
How to program thread in Unix OS?? lamvd Programming 2 01-27-2003 07:14 PM
New thread status suggestion ugge LQ Suggestions & Feedback 1 09-16-2001 11:04 AM


All times are GMT -5. The time now is 12:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration