<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk Query for Windows Process Names and CPU Utilizations in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-for-Windows-Process-Names-and-CPU-Utilizations/m-p/690612#M235197</link>
    <description>&lt;P&gt;Thanks for the reply!!&lt;/P&gt;&lt;P&gt;The stats i am looking for single windows servers.&lt;/P&gt;&lt;PRE&gt;| timechart latest('CPU') by process_name host&lt;/PRE&gt;&lt;P&gt;timechart followed by process_name host does not work&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jun 2024 12:17:37 GMT</pubDate>
    <dc:creator>Raja_Selvaraj</dc:creator>
    <dc:date>2024-06-13T12:17:37Z</dc:date>
    <item>
      <title>Splunk Query for Windows Process Names and CPU Utilizations</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-for-Windows-Process-Names-and-CPU-Utilizations/m-p/690508#M235167</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;Can you please help me with the Splunk query to list the Windows Process Names and CPU utilizations for the particular hostname. I have made the query as follows:-&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=tuuk_perfmon source="Perfmon:Process" counter="% Processor Time" host=*hostname* (instance!="_Total" AND instance!="Idle" AND instance!="System") | eval 'CPU'=round(process_cpu_used_percent,2) | timechart latest('CPU') by process_name&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the above mentioned query, i can able to get the CPU utilization results for listed Windows Process names, but when analyzing the results, for particular time frame there are multiple 100% CPU utilization for mutiple Windows process names.&lt;/P&gt;
&lt;P&gt;Could someone please suggest or validate whether i am getting valid results and also the reason for&amp;nbsp;multiple 100% CPU utilization?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CPU.JPG" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/31312iDE88C275942F381B/image-size/large?v=v2&amp;amp;px=999" role="button" title="CPU.JPG" alt="CPU.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 17:03:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-for-Windows-Process-Names-and-CPU-Utilizations/m-p/690508#M235167</guid>
      <dc:creator>Raja_Selvaraj</dc:creator>
      <dc:date>2024-06-12T17:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query for Windows Process Names and CPU Utilizations</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-for-Windows-Process-Names-and-CPU-Utilizations/m-p/690544#M235173</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Process names, but when analyzing the results, for particular time frame there are multiple 100% CPU utilization for mutiple Windows process names.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Are these 100% utilization for multiple process names on a single host or multiple hosts? &amp;nbsp;Your last stats is&amp;nbsp;&lt;FONT face="courier new,courier"&gt;| timechart latest('CPU') by process_name&lt;/FONT&gt;, which aggregates across all that match host=*hostname*. &amp;nbsp;Is there any reason why there &lt;EM&gt;must not&lt;/EM&gt; be multiple 100%?&lt;/P&gt;&lt;P&gt;Maybe you are looking for groupby process_name AND host?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=tuuk_perfmon source="Perfmon:Process" counter="% Processor Time" host=*hostname* (instance!="_Total" AND instance!="Idle" AND instance!="System") | eval 'CPU'=round(process_cpu_used_percent,2)
| timechart latest('CPU') by process_name host&lt;/LI-CODE&gt;&lt;P&gt;The output will not be pretty but it's an idea.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 20:21:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-for-Windows-Process-Names-and-CPU-Utilizations/m-p/690544#M235173</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2024-06-12T20:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query for Windows Process Names and CPU Utilizations</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-for-Windows-Process-Names-and-CPU-Utilizations/m-p/690559#M235179</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/268961"&gt;@Raja_Selvaraj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Take a look at this article on Process\% Processor Time&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/archive/technet-wiki/12984.understanding-processor-processor-time-and-process-processor-time" target="_blank"&gt;https://learn.microsoft.com/en-us/archive/technet-wiki/12984.understanding-processor-processor-time-and-process-processor-time&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How many cores does your machine have?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 22:12:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-for-Windows-Process-Names-and-CPU-Utilizations/m-p/690559#M235179</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-06-12T22:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query for Windows Process Names and CPU Utilizations</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-for-Windows-Process-Names-and-CPU-Utilizations/m-p/690611#M235196</link>
      <description>&lt;P&gt;Thanks for the reply!! Mostly 4 to 8 Cores for Windows Servers..&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 12:15:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-for-Windows-Process-Names-and-CPU-Utilizations/m-p/690611#M235196</guid>
      <dc:creator>Raja_Selvaraj</dc:creator>
      <dc:date>2024-06-13T12:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Query for Windows Process Names and CPU Utilizations</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-for-Windows-Process-Names-and-CPU-Utilizations/m-p/690612#M235197</link>
      <description>&lt;P&gt;Thanks for the reply!!&lt;/P&gt;&lt;P&gt;The stats i am looking for single windows servers.&lt;/P&gt;&lt;PRE&gt;| timechart latest('CPU') by process_name host&lt;/PRE&gt;&lt;P&gt;timechart followed by process_name host does not work&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 12:17:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Query-for-Windows-Process-Names-and-CPU-Utilizations/m-p/690612#M235197</guid>
      <dc:creator>Raja_Selvaraj</dc:creator>
      <dc:date>2024-06-13T12:17:37Z</dc:date>
    </item>
  </channel>
</rss>

