Answered Process Monitoring CPU threshold Recovery

  • Wednesday, March 14, 2012 3:07 AM
     
     

    Hi, 

    I have to monitor a process.

    When the process exceed the CPU threshold, the corresponding service needs to be stopped and started.

    Is it possible only via script?

    -Meer

All Replies

  • Wednesday, March 14, 2012 1:49 PM
     
     Answered

    I would use a script for that. 

    You could create a recovery task on the CPU usage monitor that executes a script to restart the service.

    I haven't tested it but it may be possible to chain commands together like this:

    net stop ServiceName & net start ServiceName

    //Sam


    • Marked As Answer by mezzotinto Wednesday, March 21, 2012 2:39 AM
    •