|
-
May 22nd, 2001, 11:18 AM
#1
Thread Starter
New Member
Finding process relationshipd
Hi,
have an app that monitors other apps, starts and stops them at specific time and re-starts them if they should fail.
The problem I have is that if an process fails I need to work out what processes it has spawned to unload those too ..... any idea how I can see a sort of process parent - child relationship.
Any suggestions welcome
Thanks
Paul
-
May 22nd, 2001, 05:09 PM
#2
Addicted Member
If I get your meaning, you're trying to do something like Windows NT services?
I don't know how you'd find child processes, but you *might* have a problem stopping them if you do...as far as I know, you can only control processes that your program starts. If anyone knows differently, please help out!
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
May 23rd, 2001, 04:44 PM
#3
Thread Starter
New Member
No I have the unloading processes bit working fine, as long as I have the process id I can stop it, problem is some of the process spawned off by the process I kill need to be wiped out too and its getting these process IDs that is causing me the problem
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|