in reply to Proc::ProcessTable
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Proc::ProcessTable
by yuvalle1 (Initiate) on Jul 06, 2004 at 12:30 UTC |