LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 09-29-2006, 10: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, 10:48 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,765
Blog Entries: 4

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 11:40 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