permon alerting when stays at 100% cpu not peaks...
#1
Scooby Regular
Thread Starter
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like
on
1 Post
How can I set an alert for 100%cpu, I dont want to be alerted when it peaks at 100% just when we get a deadlock and it stays there for a given amount of time... Ideas / suggestions??
David
David
#3
Guess who?
Do you want to write some code, or just do a general performance monitor type thing?
Don't know how to do it the last way (probably some composite of CPU time, idle time and queue length), but have an idea with writing code...
EDIT : Are you actually talking about deadlocked threads? Won't they deadlock to 0% CPU?
[Edited by MrDeference - 6/13/2002 3:15:00 PM]
Do you want to write some code, or just do a general performance monitor type thing?
Don't know how to do it the last way (probably some composite of CPU time, idle time and queue length), but have an idea with writing code...
EDIT : Are you actually talking about deadlocked threads? Won't they deadlock to 0% CPU?
[Edited by MrDeference - 6/13/2002 3:15:00 PM]
#5
OK then
Write a service/app in VB that watches the performance counters that you are interested in (look at PerformanceCounterCategory).
Monitor this for whatever period you want at whatever frequency, and then fire a counter event of your own. Set the alert to fire when you're conter event happens.
Write a service/app in VB that watches the performance counters that you are interested in (look at PerformanceCounterCategory).
Monitor this for whatever period you want at whatever frequency, and then fire a counter event of your own. Set the alert to fire when you're conter event happens.
#7
Sorry I didn't have much time to help as I am pedal to the metal at the moment trying to do my 9-5 (or 8-12 as it is). Maybe in a week or so I will pick up the thread and see if I can't bash out something (ahem)
Trending Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
shorty87
Full Cars Breaking For Spares
19
22 December 2015 11:59 AM
speedrick
Subaru Parts
0
26 September 2015 03:01 PM
shorty87
Wheels And Tyres For Sale
0
25 September 2015 08:36 PM