http://qs1969.pair.com?node_id=118298

deprecated has asked for the wisdom of the Perl Monks concerning the following question:

We're running an NT cluster here for some massive-scale OCR'ing. The problem with this is that Adobe's software, Capture, is superbuggy and crashes frequently. However, it's tough to keep track of all the separate NT boxes, so sometimes we dont find out a process has crashed until even a week later, and then we have to play catchup with that particular box.

I'd like to know if somebody out there has written a script to keep track of whether a particular process is still running on an NT box. I know how I'd do it on unix.

thanks,
brother dep.

--
Laziness, Impatience, Hubris, and Generosity.

Replies are listed 'Best First'.
Re: Monitoring a process in NT (PM Snippet)
by ybiC (Prior) on Oct 11, 2001 at 22:51 UTC
Re: Monitoring a process in NT (code)
by Asim (Hermit) on Oct 11, 2001 at 22:48 UTC

    Been a while since I've done it, and I don't have the code at hand. The standard Win32::Process module only controls processes it creates, as I recall; try the IProcess module to control any process on a Win32 box.

    ----Asim, known to some as Woodrow.