1847253 Members
4142 Online
110263 Solutions
New Discussion

Threads

 
Rusty Sapper
Frequent Advisor

Threads

What is the easiest way(if any) to get a thread count that pertains to Max_Thread_Proc and/or NKThread.

TIA

Rusty
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor

Re: Threads

Hi Rusty:

'glance' will show the processes' thread count.

Regards!

...JRF...
Deepak Extross
Honored Contributor

Re: Threads

If you're looking for the max threads that a process can create, try
getconf _SC_THREAD_THREADS_MAX