• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 432
  • Last Modified:

Tool for finding the CPU spiker?

I have some servers that are spiking to 100% CPU utilization.  By the time I get on the server to find out who has been the CPU hog - the CPU has dropped.  What tool can be used to find the CPU hog when you're not on the console to be able to view processes and their utilization?  Thank you.
0
amigan_99
Asked:
amigan_99
3 Solutions
 
ded9Commented:
0
 
twohawksCommented:
Perhaps the Windows Performance Monitor is what you need...
http://technet.microsoft.com/en-us/library/bb742546.aspx
0
 
Sushant GulatiConsultantCommented:
http://support.ipmonitor.com/helps/91297b242af2484b909bd4ee0e0713ef.aspx  ---->>> This the third party... This use SNMP for the device monitoring.

What are these servers? If these are Windows 2008 servers then download the RSAT for Windows 2008 and the "Windows System Resource Manager Tools" will be much helpful.  Or set up the Data Collector Set and let the Windows Server hogs up the CPU. Collect the logs and open up into Performance Monitor tool to see which process was consuming the high memory. If its CPU then don't forget to add the THREAD COUNTER in the DATA COLLECTOR SET.

I would also recommend to use the Perfwiz tool if these are Windows 2003 server by selecting Advanced Configuration in the Perfwiz Wizard and selecting the Threads part. If the CPU is high if by chance you see the server consuming high CPU then check the number of threads per process.

On the console you can also use the Process Explorer tool to check the CPU utilization. Right on the process who is taking high CPU and go into the Thread and then go to Stack. You need to put in the symbols to use the process explorer.. You  need to see which .exe or .DLL is loading into the Thread Stack of Process. Select that thread which shows high Context Switching.

In the process explorer under Options.. Configure Symbols...
srv*c:\symbols*http://msdl.microsoft.com/download/symbols

Good Luck..!! And you could find many third party tools but the results are unreliable and monitoring the CPU remotely, I don't personally prefer it. Because this has to be monitored real time. The lag in the network could show up some fake results too. That's why I would recommend to set up the monitoring tools and interpret which process is spinning up the CPU.

Now, Good Luck..!! Waiting on the results..

~SG~
0
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

 
ChiefITCommented:
I agree with ded9:

Process explorer is the best and will help you pan down to the thread that is causing the problem.
0
 
amigan_99Author Commented:
I've used process explorer before and just loaded it again on my desktop as a refresher.  But I don't see how that would tell you who was the hog if you're not there live time watching it.  

If there was something that would just tell you over time who are say the top five processes - that would do it.
0
 
ded9Commented:
We can do it via process explorer ..but never tried it....need to go in depth and check marks video.

You can follow this article ...performance log can use used to monitor.

http://www.eukhost.com/web-hosting/kb/how-to-receive-high-cpu-usage-email-alerts-on-server/


If you see this article ...in step 7...you can even send a network message ...it will also log an entry in your application event log.

Try it

Paid version software.

http://www.gfi.com/nsm




Ded9
0
 
amigan_99Author Commented:
It looks like it Blat will send you an email on high utilization.  But it won't tell you who the hogs were at the time of the high utilization.  That would be the thing - send top five processes running when high CPU was detected.
0
 
ded9Commented:
I think it would because it would add an entry in the application event log...did u try it.



Ded9
0
 
amigan_99Author Commented:
I'm not the sysadmin (I'm concerned network guy) so I will have to work through others to get this on the DC.  But perhaps I can load this onto a test system when back in tomorrow.
0
 
johnb6767Commented:
"I've used process explorer before and just loaded it again on my desktop as a refresher.  But I don't see how that would tell you who was the hog if you're not there live time watching it.  "

Just FYI, you can configure the CPU History to show an individual graph for each process, which will give you some history.... In addition to changing the Update speed to 2 seconds and widening that newly added column....

Just wanted to add this little tidbit, as I agree as the others have stated, that it is the best tool for the task.... This will add a significant amount of capture time, so that if you are not in front of the machine, it will give you some leeway.....
0
 
amigan_99Author Commented:
In the end what I did was use AutoScreen Recorder (same folks that make screen hunter) and let it roll on an RDP session with resource manager up.  So once I saw the spike I could see the full sequence of events leading to it by reversing.  I went this route as I didn't need to install any software/involve the sysadmins.  But thank you for the suggestions.  I will save them for future use.
0
 
amigan_99Author Commented:
Thank you very much!
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Tackle projects and never again get stuck behind a technical roadblock.
Join Now