Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-29-2006, 11:24 AM   #1
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
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,075
Blog Entries: 14

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
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.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:15 PM.

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