Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I be alerted when a process goes idle (that is, its CPU usage reaches zero for a sustained period on Windows 7?

Essentially, I have a long running batch process that is pegging one of the cores. While I am able to work on other tasks, I sometime forget to check if it has finished. Is there a way I can be alerted when it is finished by monitoring the processes CPU usage?

share|improve this question
    
Can you run this process from a batch script, and then add a line that will throw up a dialog box> –  soandos Jul 5 '12 at 16:42
    
@soandos Yep, but it has to work on Win 7. –  fmark Jul 7 '12 at 9:17
    
and what is wrong with a .bat file or VB Script file (.vbs, just paste stackoverflow.com/questions/774175/…) –  soandos Jul 8 '12 at 1:42
    
Because I don't want to have to start the process from a batch file. These are long running processes that I interact with via a GUI, then wait for completion. –  fmark Jul 9 '12 at 1:52

1 Answer 1

Have you thought of using SNMP to monitor CPU usage and send a trap when it goes idle; or whatever you want ?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.