Splunk Search

How do you Calculate %CPU by top 10 processes on a Windows Machine?

vn86893
Explorer

Hello,

I am trying to calculate average CPU% utilized by top 10 processes on a Windows machine. When I do the search, I see more Values with 100. I am not clear what they mean. I tried reading many articles but did not find anything related. Can someone please help me on this. I am trying this

index=perfmon host=$Host$ object=Process counter="% Processor Time" (instance!="_Total" AND instance!="Idle" AND instance!="System")  | timechart avg(Value) by instance useother=f limit=0

I see a lot of Values with value 100 and I am lost. Not sure what those values really mean.

Can some one please help me get top the 10 processes with the highest CPU% utilization by process?

dauren_akilbeko
Communicator

Check this answer
https://answers.splunk.com/answers/152507/how-to-write-a-search-query-to-list-top-3-cpu-consuming-wi...

I see a lot of Values with value 100 and I am lost. Not sure what those values really mean.

Here is docs explaining what is going on http://docs.splunk.com/Documentation/Splunk/7.1.3/Data/MonitorWindowsperformance at Processor Time counters do not return values of higher than 100

0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...