Re: How to count the number of threads



s45_nospam@xxxxxxx wrote:

Sometimes, i can not do anymore bash command (ps, ls top or whatever).
The number of processes are:
ps -aux|wc -l
137

It is far from 7168.
So, I assume it is due to the number of threads. But how can I count
the whole number of threads on my system?


Why do you assume that it's due to the number of threads? Has an error
messsage said as much or what?

You need to go back to your original problem and tracking down the cause
before randomly guessing...
.