<?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: Getting &amp;quot;top 3&amp;quot; (Windows) processes, sorted by CPU usage, when CPU usage goes over xx% in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Getting-quot-top-3-quot-Windows-processes-sorted-by-CPU-usage/m-p/434705#M3671</link>
    <description>&lt;P&gt;Sorry for the late reply, hope everyone had a nice weekend &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Going to try this out. &lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 06:51:49 GMT</pubDate>
    <dc:creator>so_edv1</dc:creator>
    <dc:date>2019-03-11T06:51:49Z</dc:date>
    <item>
      <title>Getting "top 3" (Windows) processes, sorted by CPU usage, when CPU usage goes over xx%</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Getting-quot-top-3-quot-Windows-processes-sorted-by-CPU-usage/m-p/434703#M3669</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;

&lt;P&gt;Pretty new to Splunk and, to be honest, I'm going under in work so I don't have time to work myself in a lot &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; and so I hoped someone could help me with something, I somehow couldn't find some solution for..&lt;/P&gt;

&lt;P&gt;We. I. want to monitor our VDA Servers and get informed / an e-mail once the CPU usage goes over a certain amount. Let's say 70%.&lt;/P&gt;

&lt;P&gt;This shouldn't happen. But of course sometimes it does. And we want to know through which process.&lt;/P&gt;

&lt;P&gt;So we basically want to get a short e-mail.&lt;/P&gt;

&lt;P&gt;"Hey. CPU load on X is over the limit.&lt;/P&gt;

&lt;P&gt;Here are the top 3 processes, sorted by CPU load produced:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;MS Teams - 30%&lt;/LI&gt;
&lt;LI&gt;Chrome - 25%&lt;/LI&gt;
&lt;LI&gt;Outlook 20%&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;"&lt;/P&gt;

&lt;P&gt;Is there a pre-made solution someone knows? Or a powershell script?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 08:51:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Getting-quot-top-3-quot-Windows-processes-sorted-by-CPU-usage/m-p/434703#M3669</guid>
      <dc:creator>so_edv1</dc:creator>
      <dc:date>2019-03-08T08:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "top 3" (Windows) processes, sorted by CPU usage, when CPU usage goes over xx%</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Getting-quot-top-3-quot-Windows-processes-sorted-by-CPU-usage/m-p/434704#M3670</link>
      <description>&lt;P&gt;First, you must have performance data from your VDA servers indexed in Splunk.  You can use a universal forwarder to send perfmon:CPU events to do that.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[perfmon://Processor]
object = Processor
instances = _Total
counters = % Processor Time;% User Time
interval = 60
disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Once you have the data, it's easy to craft a search that runs every few minutes to look for servers with high CPU utilization.  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=windows | stats sum('% Processor Time') as PctCPU | where PctCPU &amp;gt; 70
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.4/Data/MonitorWindowsperformance"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.4/Data/MonitorWindowsperformance&lt;/A&gt; for details.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 14:00:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Getting-quot-top-3-quot-Windows-processes-sorted-by-CPU-usage/m-p/434704#M3670</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-03-08T14:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "top 3" (Windows) processes, sorted by CPU usage, when CPU usage goes over xx%</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Getting-quot-top-3-quot-Windows-processes-sorted-by-CPU-usage/m-p/434705#M3671</link>
      <description>&lt;P&gt;Sorry for the late reply, hope everyone had a nice weekend &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Going to try this out. &lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 06:51:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Getting-quot-top-3-quot-Windows-processes-sorted-by-CPU-usage/m-p/434705#M3671</guid>
      <dc:creator>so_edv1</dc:creator>
      <dc:date>2019-03-11T06:51:49Z</dc:date>
    </item>
  </channel>
</rss>

