Haven't tried it, but this looks like it might be a way http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/ win32_perfrawdata_perfproc_thread.asp?frame=true
You'd want to monitor thread state on a regular interval. Another option might be to use the scheduler or re-write the code to alert if it encounters an error. Al -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kern, Tom Sent: Monday, June 07, 2004 4:35 PM To: ActiveDir (E-mail) Subject: [ActiveDir] Very OT Hi, I have a devloper who wrote a vb exe(not a service) that runs on start up on an AD DC and stays in memory in the backround. My question is, is there anyway to monitor if this process has stopped? Perhaps with a perl script. Since its not a service, I don't really know how to do this. Also, it doesn't log anything to the event log. i couldn't find anything on my perl groups and you guys seem pretty knowldgable on scripting so i just thought i'd take a shot in the dark and post here. thanks and my apologies for the way OT. List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/