Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Monitoring a process in NT (code)

by deprecated (Priest)
on Oct 11, 2001 at 22:23 UTC ( #118298=perlquestion: print w/replies, xml ) Need Help??

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.

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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://118298]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2023-06-02 18:00 GMT
Find Nodes?
    Voting Booth?

    No recent polls found