-   Linux - Newbie (
-   -   unix command thread status similar to ps (

powah 09-29-2006 11:24 AM

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?

MensaWater 09-29-2006 11:48 AM

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.

All times are GMT -5. The time now is 11:28 PM.