jdamae
jdamae

Reputation: 3909

how to use active perl script for monitoring windows services

Has anybody written an ActivePerl script using Win32::Service?

If so, can you show me some sample code on how to call this? I know its says Win32, but would like to know if this would work also on a 64 bit machine. I'm primarily interested in checking the services status.

Upvotes: 2

Views: 2715

Answers (1)

Joe Internet
Joe Internet

Reputation: 526

There's a basic example on PerlMonks that you can check out. Be sure to read the comments, as there's a code modification that improves the results of the original code.

Upvotes: 3

Related Questions