- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- number of threads for task/processes
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
07-31-2003 09:09 AM
07-31-2003 09:09 AM
number of threads for task/processes
I'd like know the number of threads associate with every task/processes the system show me in ouptut at the ps -ef command.
I read the "man ps" but I didn't find the answer.
Who know waht to do?
Thanks in advance.
M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 09:14 AM
07-31-2003 09:14 AM
Re: number of threads for task/processes
The kernel parameter 'max_thread_proc' controls the number of threads a process can create at a time. 'nkthread' sets the maximum number of threads system-wide.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 09:18 AM
07-31-2003 09:18 AM
Re: number of threads for task/processes
the only tool i know that can do that is glace.
You can have a free 60days trial. Plan to buy it, it worth the cost. You can find it in the application CD
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 11:56 AM
07-31-2003 11:56 AM
Re: number of threads for task/processes
for hpux 11.00 and later you can use the attached program. Just compile it with no special options and run. It takes the pid as the argument, i.e.
# ./threads 2081
Process 2081 has 3 threads
regards,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2003 11:58 AM
07-31-2003 11:58 AM
Re: number of threads for task/processes
Regards
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 12:11 PM
08-04-2003 12:11 PM
Re: number of threads for task/processes
Programs linked on 11.22 and later (on Itanium) will default to "MxN" threads which migrate user space threads among a pool of kernel threads. That can make thread counting complicated.