Hi,
In that case try getpid from Linux::Pid
In reply to Re^3: Get PID of child threads by beech in thread Get PID of child threads by TS90