Operating System - HP-UX
1747992 Members
4782 Online
108756 Solutions
New Discussion юеВ

Re: Getting thread information from Procesess

 
Leslie Chaim
Regular Advisor

Getting thread information from Procesess

Hi,

I am writing this Java app. which creates multiple threads.

I am wondering is there are commands to monitor or manage threads where I can see:

How many threads are there per process.
How many threads are running.
What is the status of a given thread.
...

I know you could get it 'somehow' from glance but is there anything simpler like ps.

Thanks,
Leslie
If life serves you lemons, make lemonade
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: Getting thread information from Procesess


nothing as simple as "ps", although I haven't tried "lsof". Have you looked at jprobe???

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.64/

??

live free or die
harry
Live Free or Die
Leslie Chaim
Regular Advisor

Re: Getting thread information from Procesess

I have not seen jprobe, can you provide some info?

Thanks
If life serves you lemons, make lemonade
David Totsch
Valued Contributor

Re: Getting thread information from Procesess

Leslie:

The newer versions of glance/gpm can show you the thread information.

-dlt-
harry d brown jr
Honored Contributor

Re: Getting thread information from Procesess

Leslie,


http://www.sitraka.com/software/jprobe/


live free or die
harry
Live Free or Die
Leslie Chaim
Regular Advisor

Re: Getting thread information from Procesess

I tried two times to assign points and I get the acknowledgement. However, the points do not show up.

After the acknowledgment, I click and return to the message and I still see the unassigned in the points box.

Anyway, thanks for your help. I would like to assign these points though.
If life serves you lemons, make lemonade