# Process not detected for C, C++

**URL:** <https://community.dynatrace.com/t/process-not-detected-for-c-c/38432>\
**Category:** Open Q&A\
**Tags:** oneagent, hosts-classic, processes\
**Created:** [February 14, 2023, 7:48am UTC](https://community.dynatrace.com/t/process-not-detected-for-c-c/38432 "2023-02-14T07:48:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Selvam\_Sekar](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@Selvam\_Sekar](https://community.dynatrace.com/u/Selvam_Sekar)\
**Post date:** [February 14, 2023, 7:48am UTC](https://community.dynatrace.com/t/process-not-detected-for-c-c/38432/1 "2023-02-14T07:48:57Z")

</div>

We have process that are based on C, C++ and running on the linux host. We have installed the OneAgent successfully on linux box. However, they are not detected by Dynatrace.

do we have to make any change in process group detection rule?

Thanks.

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [February 14, 2023, 7:11pm UTC](https://community.dynatrace.com/t/process-not-detected-for-c-c/38432/2 "2023-02-14T19:11:46Z")

</div>

Hi[@Selvam\_Sekar](https://community.dynatrace.com/user/56732) this is the expected behaviour. OneAgent can also perform more detailed monitoring of specific technologies (such as Java, Node.js, .NET, and others) by injecting itself into those processes and monitoring their performance from within. This provides you with code-level insights into the services that your applications rely on. OneAgent deployment doesn’t detect C/C++ after deploy, you need to implement through [OneAgent SDK for C](https://github.com/Dynatrace/OneAgent-SDK-for-C)

For more reference [OneAgent Support Matrix](https://www.dynatrace.com/support/help/shortlink/oneagent-support-matrix)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [February 14, 2023, 9:11pm UTC](https://community.dynatrace.com/t/process-not-detected-for-c-c/38432/3 "2023-02-14T21:11:29Z")

</div>

In addition to Daniel’s answer - if you don’t need deep monitoring (which requires OneAgent SDK or or OpenTelemetry in your app), you just need to configure process group detection rules - [declarative process grouping](https://www.dynatrace.com/support/help/shortlink/process-groups#declare)&nbsp;so Dynatrace considers your process important and will display it in the process list.

---

<div class="post-metadata">

**Author:** ![Selvam\_Sekar](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@Selvam\_Sekar](https://community.dynatrace.com/u/Selvam_Sekar)\
**Post date:** [April 5, 2023, 1:55pm UTC](https://community.dynatrace.com/t/process-not-detected-for-c-c/38432/4 "2023-04-05T13:55:02Z")

</div>

Thanks&nbsp;[@Julius\_Loman](https://community.dynatrace.com/user/3364)&nbsp;,[@DanielS](https://community.dynatrace.com/user/35788)&nbsp;.

Have created the declarative process group to detect the C++ technology without deep monitoring. However, we are unable to identify the instance name.

For example, PS command arguments of the process

1&nbsp; 6 Apr04 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00:09:13 sel2/application-manager-7/applications//application-manager --config /sel2/aplication-manager-7/config//dev7-IND2-am-7.cfg --instance **am-1** --log /usr2/application-manager-7/logs/am-1 --size 102400 --flush DEBUG4 --pid-dir sel/application-manager-7/persist/dev7/am-1 --debug

1&nbsp; 6 Apr04 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00:09:13 sel2/application-manager-7/applications//application-manager --config /sel2/aplication-manager-7/config//dev7-IND2-am-7.cfg --instance **am-2** --log /usr2/application-manager-7/logs/am-2 --size 102400 --flush DEBUG4 --pid-dir sel/application-manager-7/persist/dev7/am-2 --debug

Dynatrace detects “sel2/application-manager-7/applications//application-manager” and this is shown as EXE Path under properties. is there way we can bring am-1 or am-2 also in the properties? we do have more than 26 such instance and unable to see any of them in Dynatrace.

---

<div class="post-metadata">

**Author:** ![michiel\_otten](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michiel_otten/32/21987_2.png) [@michiel\_otten](https://community.dynatrace.com/u/michiel_otten)\
**Post date:** [April 5, 2023, 2:21pm UTC](https://community.dynatrace.com/t/process-not-detected-for-c-c/38432/5 "2023-04-05T14:21:00Z")

</div>

Can’t you add the command line in there? Unfortunately this has to be done for every instance I think..  
You can use the API for this to speed up the process..

 ![michiel_otten_0-1680704166051.png](https://global.discourse-cdn.com/dynatrace/original/2X/8/844be3028955df5ed3afc65c20175a47eb2a6b54.png)
