Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unix Process Id

Status
Not open for further replies.

sastradhar

Programmer
Apr 17, 2002
1
US
Using the perl system command I am starting a process. I want to know how I can get hold of the process Id so that I can kill that process later.
Thanks in advance
 
Run 'perldoc perlfunc' and heck out the fork and waitpid functions.
 
To get the PID of your process stick a use Proc::processTable statement at the top of your program. I can't remember off hand how to get the info you want but I DO remember that the documentation for the module explains it's use very well.

greadey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top