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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows child process

Status
Not open for further replies.

SSG1

Programmer
Joined
Jan 17, 2002
Messages
48
Location
US
Is there a way to find out all the child processes and their process ids that have been spawned by a parent process if you just have the parent process name ? I need to find a way to do this in PERL by today. Can someone help ?????

Thanks
 
Is it a process you started with a script or just random processes? What OS? On unix many applications have a file that holds there process Id. And In some cases if you kill the parent you kill the child. It just depends on what you are dealing with.
 
duh! I should read titles more...... I can't help you with windows programming... I'm only now learning it and with VB no less. My apologies.
 
Thanks for trying to help though.
This is a process that has been started spawned by a parent process on Windows which was started by a script.

Does anyone else have any clues ?????
 
Have a look at the example in Win32::PerfLib documentation Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top