View Single Post
  #10  
Old July 17th 18, 06:59 PM posted to alt.windows7.general
VanguardLH[_2_]
external usenet poster
 
Posts: 10,881
Default *SIMPLE* process monitor - for peaks?

VanguardLH wrote:

I'll have to think about a CPU usage threshold monitor for a bit. Still
need some coffee.


Found some with threshold alerts:

http://www.softpedia.com/get/Interne...-Monitor.shtml
http://www.majorgeeks.com/files/deta...and_alert.html

I didn't check if they tell you which process had the highest CPU usage
at the time; however, high overall CPU usage could be the result of
multiple high-usage processes, especially since many programs use
multiple processes. Also, could be the offender is a service that has
been rolled into one of the svchost.exe processes which means having to
use SysInternals' Process Explorer to dig into a svchost.exe instance to
see which services were rolled into it (but that won't tell you which
service caused the high CPU usage for that svchost.exe instance). For
that type of monitoring, you'll probably want a CPU usage logger.

https://support.microsoft.com/en-us/...when-the-alert
I think that is describing how to set a threshold alert in PerfMon. I
don't know if you need a server edition of Windows for those types of
alerts (since the articles that I saw about doing this referred to
Windows Server alerts).

https://www.vircom.com/blog/how-to-m...d-is-breached/
That also mentions using PerfMon to issue alerts. While that author has
e-mail alerts sent to him, that would take too long for just a 2-second
notification window. You could have the batch file do something else,
like just show a message (echo and pause in a .bat file called by
'cmd.exe /k path\name.bat' that would hold open a command shell
showing the message).
Ads