I need a Windows service utility to monitor CPU usage and keyboard/mouse idle time of a Windows 7 64-bit Professional system.
In other words: the service should run a timer countdown that is reset anytime CPU goes above threshold and/or there is keyboard/mouse activity. If this timer reaches zero the machine is set to hibernate, sleep or shut down.
The external customizable parameters are CPU threshold, timer duration (in minutes) and action to be taken (hibernate, sleep or shutdown).
This utility must run as a Windows Service, to continue monitoring the computer even when no one is logged on. Please make sure the utility has low overhead and no memory leaks, since it will be resident in memory.
I won't need any UI for the application, I am happy to specify values for the parameters in a txt configuration file stored on c:\. That should make the development of this application even easier!
Any bids are welcome, even better if examples are posted with it (these examples can have locked settings for demo purposes, such as CPU threshold=30%, timer=3 minutes, action=hibernate).