[Asterisk-Users] RE: PID

James H. Cloos Jr. cloos at jhcloos.com
Fri Jan 16 19:23:00 MST 2004


>>>>> "T" == T Chan <tommy.chan at utimail.com> writes:

T> So are you saying that I should see 1 PID for
T> "safe_asterisk" and many PIDs for "asterisk -vvvg -c" 

On old distributions one would expect this.

T> or [1 PID for "safe_asterisk" and] just 1 PID for "asterisk -vvvg -c"

The Newest distributions -- ones that have nptl (new posix threads
library) -- would do this because with nptl all threads have the
same pid.

Also, some version of top(1) can recognize multiple threads of the old
type and hide the child threads.  In that case there is an option in
top(1) that will show all of the threads.  Hit h in top(1) to see what
keys do what.

So, either some of your boxen have nptl or some have the version of
psutils that hides threads in top(1)'s default settings.

-JimC




More information about the asterisk-users mailing list