alert when CPU at 100% loading

Discussion in 'Trading Software' started by richardyu301, May 11, 2006.

  1. Is there a software that can give me alert when my CPU loading is at 100%???

    Or can a software engineer in ET helps write a single program that can perform this function??

    I need this so I can be alerted when the market is moving too fast and my computer is overloaded. thx.
  2. You didnt mention what operating system you are using but assuming its Windows check out the Performance (Monitor) application in the Administrative folder - I believe it has an alerting feature that will work exactly for your purpose (I have not used the alert part of the app myself)

    Edit: I just tested it and it works fine, for the object select "Processor" and for the counter select "% Processor Time". On the action tab you can have it send you a pop-up mesage (if you have the Messenger service running) or you can have it run another program of your choosing.

    Let me know if you need any help, its a little cryptic setting up
  3. I hv set below parameters to get a sound alert but it fails. Pls see the pictures for my configuration (sorry but I use Chinese Windows XP).

    Pls note that I can run below command prompt to get a sound alert.
    "C:\WINDOWS\system32\snd32rec.exe C:\Program Files\eSignal\Sounds\Buzzer.wav"

    So I believe I am wrong in the way I set the trigger. Would you pls help?
  4. my trigger...

    In English, it means "alert when over 99" with interval of 1 second.
  5. here is my alert sound....

    It means....
    run the program "C:\windows\system32\sndrec32.exe" with the parameters "c:\program files\esignal\sounds\buzzer.wav".
  6. I would recommend that you use the Messenger option first and get that working and stable before you move on to running a program of your choice. If you dont want to use Messenger you can just have it log to the event log and check for events there (the event viewer is also in the administrative folder if you didnt already know that)

    I tried to have it run Notepad (just as a test app) when the alert fired and at first it didnt appear to work then noticed in TaskMgr that a bunch of Notepad apps had been spawned in the background but their interface did not appear on my desktop (probably because of how they were being instantiated) Anyway always best to walk before you run.
  7. Try making it a lower threshold for testing, say 10%

    I can't understand any of the non-English parts but everything you posted that I can understand looks correct to me.
  8. Sample event when the alert fires:

    Event Type: Information
    Event Source: SysmonLog
    Event Category: None
    Event ID: 2031
    Date: 5/11/2006
    Time: 10:45:09 AM
    User: N/A
    Computer: X1

    Counter: \\X1\Processor(_Total)\% Processor Time has tripped its alert threshold. The counter value of 20.6412825651303 is over the limit value of 10.
  9. I don't know if this is your problem but I don't have a buzzer.wav in my eSignal/sounds/ directory, only buzz.wav.

    Other than that, that command line looks fine to me.
  10. Same situation here... there are many instances of sndrec32.exe running in the background.

    Would you pls advise where the file messenger.exe (or whatsoever the name) is? Can I use it for sound alert?


    #10     May 11, 2006