Operating System - Linux
1753464 Members
4608 Online
108794 Solutions
New Discussion юеВ

Re: C-programming - or how to display the number of threads per process

 
SOLVED
Go to solution
Sandman!
Honored Contributor

Re: C-programming - or how to display the number of threads per process

And it would help to know the current value of nkthread i.e.

# /usr/sbin/kmtune -q nkthread
john korterman
Honored Contributor

Re: C-programming - or how to display the number of threads per process

Thank you Sandman!

your latest code works and shows both the current number of threads per process and the high water mark.

regards,
John K
it would be nice if you always got a second chance
john korterman
Honored Contributor

Re: C-programming - or how to display the number of threads per process

Thanks to all who contributed.

regards, John K.
it would be nice if you always got a second chance