hi,
i'm trying to tweak to create a script to automatically restart the w3wp.exe process once it reaches 90% cpu utilization.
there is a script that would monitor an application pool (adsutil.vbs) and shutdown the process once it reaches a certain cpu level, but was wondering if this could be tweaked in any way:
adsutil.vbs set W3SVC/AppPools/ApplicationPoolName/CPUAction ActionValue
i'm trying to tweak to create a script to automatically restart the w3wp.exe process once it reaches 90% cpu utilization.
there is a script that would monitor an application pool (adsutil.vbs) and shutdown the process once it reaches a certain cpu level, but was wondering if this could be tweaked in any way:
adsutil.vbs set W3SVC/AppPools/ApplicationPoolName/CPUAction ActionValue