How to Quickly Identify CPU Spikes’ causes ?

In this short post I want to share with you how to find quicly what cause your CPU spikes.

If you hear your CPU’s fan loudly, it’s a sign of High CPU usage. Usualy we open Windows Task manger to see which process is causing CPU spikes, but when the culprit process is svchost you are not too advanced!
Svchost.exe is a process that hosts windows services and the Task Manager doesn’t give you the possibility to know which service is running inside svchost.exe process !
You have to use instead Process Explorer instead.

procexp_m

In this Example svchost.exe is using 21% of my CPU. To have more details, I just clicked on the Process name and get this Windows.

 

procexp_01_m
The “Thread” panel shows the thread running in this process; in this case the Thread named “wuauserv” is responsible of my CPU spike.
So what is wuauserv? to get more information about this Thread I’ve clicked on the “Module” Button which showed me the following Window;

procexp_04

 

It become obvious that the culprit causing CPU spikes is the Windows Update service.

So, using the right tools can quicly helps you understand what’s happening in your system.

Windows Tips and Tricks

  1. Copy a file path to the Clipboard

I use this tip to copy a path of a script into command line without having to type the whole path or when uploading files attachement in Outlook …etc.

To get the file’s path to the Clipboard: hold down the Shift key, right-click the file or folder you want, then select the newly revealed “Copy as Path” option.

tips_copyaspath