- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Thread usage
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 03:45 AM
01-10-2008 03:45 AM
is it possible to view or check the method or signature which allocated a specific thread on HP-UX 11.10?
I've a process that use up to 450 threads, but a month ago it used half (170-250).
Is it possible that a system call, that create a thread, use a multiple thread instance?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 04:17 AM
01-10-2008 04:17 AM
Re: Thread usage
What do you mean about check the method?
Do you mean user level thread (mx1 or unbound) or kernel thread (1x1 bound threads)?
If you are using hpux 11.11 check if it is linked with libpthread ( with ldd or chatr).
If you have threads it means that they have been created one pthread_create ( which is a lib call and not a syscall) creates only 1 thread.
There are some 3rd party math libs which are using threads.
Else the tool which can be used to see what syscall is using is "tusc"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 06:16 AM
01-10-2008 06:16 AM
Re: Thread usage
I use a framework TCSI OSP Core Solution, that provide a library for multi-threading processes. Every synchronous method (proxy) create a thread.
There are many syncronous method, and I must verify which method was called (that create a thread).
A month ago, the threads were 170-240, but now have 434!
Not familiar with the mechanism for releasing and acquiring of thread, and I do not understand what can depend.
Can I use tusc to filter a proxy call that create a thread?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2008 07:33 AM
01-10-2008 07:33 AM
SolutionCan I use tusc to filter a proxy call that create a thread?
With tusc you can only see syscalls, so thread creation, cancelation, jointure for instance. But you cannot link that directly to your library methodes.
The only ways would be to instrument the code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2008 01:27 AM
01-11-2008 01:27 AM
Re: Thread usage
wdb has some new thread debugging features on newer versions:
http://www.hp.com/go/wdb