find out the number of threads created by a short running program

Posted by iamrohitbanga on Stack Overflow See other posts from Stack Overflow or by iamrohitbanga
Published on 2010-04-15T08:15:43Z Indexed on 2010/04/15 8:33 UTC
Read the original article Hit count: 189

Filed under:
|
|
|

I have program that runs fast enough. I want to see the number of threads created by the program.

ldd test

shows use of library pthread. but how to find out number of threads created by the program. I only have command line access to the PC on which the program is run. The platform is linux.

© Stack Overflow or respective owner

Related posts about linux

Related posts about thread