<?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: How can I see the count of running process and add a default value 0 if process is not running? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-see-the-count-of-running-process-and-add-a-default/m-p/288642#M37872</link>
    <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/87029"&gt;@Arunkumarbnp&lt;/a&gt;&amp;nbsp;Are you looking for the count of process running on host or the count of available and unavailable process on a host?&lt;/P&gt;</description>
    <pubDate>Tue, 28 Oct 2025 06:01:43 GMT</pubDate>
    <dc:creator>p_devulapalli</dc:creator>
    <dc:date>2025-10-28T06:01:43Z</dc:date>
    <item>
      <title>How can I see the count of running process and add a default value 0 if process is not running?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-see-the-count-of-running-process-and-add-a-default/m-p/288638#M37868</link>
      <description>&lt;P&gt;I've created a metric to display the count of process running in host&lt;BR /&gt;builtin:pgi.availability.state:filter(and(or(in("dt.entity.process_group",entitySelector("type(process_group),entityName(~"procesname~")"))))):splitBy("availability.state"):count:sort(value(avg,descending)):limit(20):default(0.0)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This query displays the count if default was not added, but if default was added it displays the process availability metric instead of count.&lt;/P&gt;&lt;P&gt;How can I see the count of running process and add a default value 0 if process is not running?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 05:17:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-see-the-count-of-running-process-and-add-a-default/m-p/288638#M37868</guid>
      <dc:creator>Arunkumarbnp</dc:creator>
      <dc:date>2025-10-28T05:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I see the count of running process and add a default value 0 if process is not running?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-see-the-count-of-running-process-and-add-a-default/m-p/288642#M37872</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/87029"&gt;@Arunkumarbnp&lt;/a&gt;&amp;nbsp;Are you looking for the count of process running on host or the count of available and unavailable process on a host?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 06:01:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-see-the-count-of-running-process-and-add-a-default/m-p/288642#M37872</guid>
      <dc:creator>p_devulapalli</dc:creator>
      <dc:date>2025-10-28T06:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I see the count of running process and add a default value 0 if process is not running?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-see-the-count-of-running-process-and-add-a-default/m-p/288644#M37874</link>
      <description>&lt;P&gt;yes, Thanks for your reply&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/21657"&gt;@p_devulapalli&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I'm trying to display metric as single value or table&lt;BR /&gt;while using single value type, the metric is empty if no process is running, so I tried adding default value as 0&amp;nbsp;&lt;BR /&gt;but if I add default value, the query displays the process availability metric instead of count of process running&lt;/P&gt;</description>
      <pubDate>Tue, 28 Oct 2025 06:22:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-can-I-see-the-count-of-running-process-and-add-a-default/m-p/288644#M37874</guid>
      <dc:creator>Arunkumarbnp</dc:creator>
      <dc:date>2025-10-28T06:22:45Z</dc:date>
    </item>
  </channel>
</rss>

