Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

permon alerting when stays at 100% cpu not peaks...

Thread Tools
 
Search this Thread
 
Old Jun 13, 2002 | 10:57 AM
  #1  
David_Wallis's Avatar
David_Wallis
Thread Starter
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
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
Reply
Old Jun 13, 2002 | 02:49 PM
  #2  
David_Wallis's Avatar
David_Wallis
Thread Starter
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Post

get up top
Reply
Old Jun 13, 2002 | 03:09 PM
  #3  
MrDeference's Avatar
MrDeference
Scooby Regular
 
Joined: Mar 2002
Posts: 337
Likes: 0
Post

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]
Reply
Old Jun 13, 2002 | 03:11 PM
  #4  
David_Wallis's Avatar
David_Wallis
Thread Starter
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Post

wasnt thinking of writing code... but go on then you twisted my arm

David
Reply
Old Jun 13, 2002 | 03:17 PM
  #5  
MrDeference's Avatar
MrDeference
Scooby Regular
 
Joined: Mar 2002
Posts: 337
Likes: 0
Post

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.
Reply
Old Jun 13, 2002 | 03:42 PM
  #6  
David_Wallis's Avatar
David_Wallis
Thread Starter
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Post

ill look into that.... Gave up on the remoting... far too hard

David
Reply
Old Jun 13, 2002 | 04:06 PM
  #7  
MrDeference's Avatar
MrDeference
Scooby Regular
 
Joined: Mar 2002
Posts: 337
Likes: 0
Post

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)
Reply
Old Jun 13, 2002 | 04:32 PM
  #8  
David_Wallis's Avatar
David_Wallis
Thread Starter
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Post

cheers

Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
Dec 28, 2015 11:07 PM
shorty87
Full Cars Breaking For Spares
19
Dec 22, 2015 11:59 AM
speedrick
Subaru Parts
0
Sep 26, 2015 03:01 PM
shorty87
Wheels And Tyres For Sale
0
Sep 25, 2015 08:36 PM




All times are GMT +1. The time now is 04:52 PM.