How to count the number of threads in a process on Linux
By
Xmodulo
If you want to see the number of threads per process in Linux environments, there are several ways to do it. The proc pseudo filesystem, which resides in /proc directory, is the easiest way to see the thread count of any active process.