Link to home
Start Free TrialLog in
Avatar of David Aldridge
David AldridgeFlag for United States of America

asked on

Monitoring process run time

Is there a function or module that I can use to check the run time of a process on a Windows server so that I can kill it if it has exceeded a certain amount of time? If so, could you please point me in the right direction? I believe there is a tool in the resource kit that I could utilize, but I would like to not go external if there's a way for me to do it in perl.

Thanks!
holein5
SOLUTION
Avatar of manav_mathur
manav_mathur

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of David Aldridge

ASKER

I got the win32-process-info module and I get a lot (read LOT) of information back from it , but I can't find the time running info.
ASKER CERTIFIED SOLUTION
Avatar of FishMonger
FishMonger
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I really appreciate you guys help. It looks like I will have to make a call to an external process. I have found "pslist" which looks like it might give me what I need. If you don't mind, I will split the points between you two.

Thanks for your help!
holein5