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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...