
How to know Cpu Utilization for a process, service or in General
If i have designed that app i would have fixed it by now.
It was designed by our in house programmer and he is, lets just say
not very good at doing what he does. I am a net admin i do programming
as a hobby.In order to keep my servers running in perfect shape i have
to do everything.I cant fix the application but i can somehow stop it
from destroying my servers.
Thanks for help
On Fri, 02 Aug 2002 03:27:57 GMT, "Chad Myers"
Quote:
>> Hello,
>> I have one service at my server which some time goes out of contol and
>> Starts taking 100% of cpu utilization. i like to make a program which
>> restart the service when ever that happens.I know how to stop and
>> start the service through ServiceController but first i like to quary
>> if service is taking more cpu then it suppose to.
>You can use the Performance Counters to keep an eye on it, and
>WMI (System.Management) probably provides a way as well.
>However, don't you think it'd probably be smarter to figure out
>why your app spins out of control rather than writing a program
>to monitor it?
>-c