> ## Content Index
> Fetch the complete content index at: https://kudithipudi.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# HOW TO : Check the number of threads spawned (opened) by a process
- URL: https://kudithipudi.org/how-to-check-the-number-of-threads-spawned-opened-by-a-process/
- Published: 2012-03-12T22:28:39.000Z
- Updated: 2012-03-12T22:28:39.000Z
- Description: If you ever wanted to check how many threads a particular process spawned off in Linux, you can use Find the PID of the process by...
- Author: admin
- Tags: HOWTO, Linux, Technology, Uncategorized, #wp, #wp-post, #Import 2026-08-23 02:32

If you ever wanted to check how many threads a particular process spawned off in Linux, you can use

Check the number of threads opened by this process by running

```
<code>ps uH p <PID_OF_PROCESS> | wc -l
```

Find the PID of the process by running

```
ps -ef | grep -i PROCES_NAME
```