in reply to How do I know my process id, from within perl script

run the system("ps > t") command from the perl script and do a string search for the particular PID required

Originally posted as a Categorized Answer.

  • Comment on Re: How do I know my process id, from within perl script