Shalom yuvalle1!
I believe that the threads implementation in newer Linux kernels is different than in RH 7.3. In particular, separate threads will no longer show up as separate processes (as in, having a separate PID).
I don't know of another way to count the threads of a process, but if I come across one, I'll let you know...
Update: What kernel is it? (what does uname -r say?) If it's 2.6, you may be able to use the /proc/$$/task directory. (Thanks to theorbtwo and ambrus for CB info).
In reply to Re: Proc::ProcessTable
by edan
in thread Proc::ProcessTable
by yuvalle1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |