LockDown32
asked on
Need to be notified of processes causing high utilization
I am finding that a server I am responsible for is having utilization problems but by the time I get notified and pop on it remotely the problem is gone. Is there a simple logger/notifier that will record high utilization by processes and store the info so I can see it?
ASKER
I have an RMM (Ninja) that will only tell me (via email) if an overall Utilization % is achieved. It won't tell me the offending individual processes.
not familiar with ninja but if you can make it run a script when it is triggered you could use
(Get-Counter '\Process(*)\% Processor Time').CounterSamples | Where-Object {$_.CookedValue -gt 10}
to list the processes with more than 10% utilization at the time it was run, you could then attach the results to your ninja mail notification
(Get-Counter '\Process(*)\% Processor Time').CounterSamples | Where-Object {$_.CookedValue -gt 10}
to list the processes with more than 10% utilization at the time it was run, you could then attach the results to your ninja mail notification
If you need to monitor it just for a few days, I'd go for PRTG which is free for 30 days.
https://www.paessler.com/monitor_server_cpu?utm_source=google&utm_medium=cpc&utm_campaign=CZE_EN_DSA_Urls_path:1_&utm_adgroup=/monitor_server_cpu&utm_adnum=expdsa_en_01&utm_campaignid=1072643207&utm_adgroupid=54076795593&utm_targetid=aud-316250648051:dsa-381971869911&utm_customerid=593-765-6892&utm_location=9062812&gclid=EAIaIQobChMIr5jvityP6AIVBOh3Ch3UYgCDEAAYASAAEgKrzfD_BwE
Btw. Why don't you use Performance Monitor?
https://www.paessler.com/monitor_server_cpu?utm_source=google&utm_medium=cpc&utm_campaign=CZE_EN_DSA_Urls_path:1_&utm_adgroup=/monitor_server_cpu&utm_adnum=expdsa_en_01&utm_campaignid=1072643207&utm_adgroupid=54076795593&utm_targetid=aud-316250648051:dsa-381971869911&utm_customerid=593-765-6892&utm_location=9062812&gclid=EAIaIQobChMIr5jvityP6AIVBOh3Ch3UYgCDEAAYASAAEgKrzfD_BwE
Btw. Why don't you use Performance Monitor?
ASKER
As mentioned I am remote. Having to connect remotely and watching Performance Monitor for hours doesn't sound like a lot of fun :)
You can save the results. Nevermind. What about the PRTG?
ASKER
PRTG does nothing more then my RMM. Overall utilization but won't tell you the offending processes.
These tools are capable of what you need.
Performance Monitor (already suggested):
https://community.spiceworks.com/topic/1078717-history-of-processes-how-to-view-which-process-caused-cpu-spike
Process Monitor (Sysinternals):
https://serverfault.com/questions/730819/windows-application-process-cpu-usage-including-history
https://superuser.com/questions/453909/log-cpu-by-process-over-time
https://superuser.com/questions/609529/history-of-cpu-usage-for-all-processes
Process History
http://processhistory.sourceforge.net/
Performance Monitor (already suggested):
https://community.spiceworks.com/topic/1078717-history-of-processes-how-to-view-which-process-caused-cpu-spike
Process Monitor (Sysinternals):
https://serverfault.com/questions/730819/windows-application-process-cpu-usage-including-history
https://superuser.com/questions/453909/log-cpu-by-process-over-time
https://superuser.com/questions/609529/history-of-cpu-usage-for-all-processes
Process History
http://processhistory.sourceforge.net/
ASKER
I got the Performance Monitor set up and running. 20 minutes later I got a notification from my RMM that the server utilization went above 60%. I got on remotely and could not get any reports. Just the attached screenshot.
what screenshot?
ASKER
This one :)
Capture.PNG
Capture.PNG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I am glad you resolved it!
Also, feel free to mark all posts that pointed you to the solution.
Also, feel free to mark all posts that pointed you to the solution.
Glad it worked, that utility is always trusty no matter how much the OS grows, that one keeps doing what it does really well
there is a small utility ( ResLoad Notifier ) I used before but I don't think it is needed anymore with the tools server 2012 already offers