# How to monitor the process instance based on PID?

**URL:** <https://community.dynatrace.com/t/how-to-monitor-the-process-instance-based-on-pid/40231>\
**Category:** Open Q&A\
**Tags:** processes\
**Created:** [June 15, 2023, 12:12pm UTC](https://community.dynatrace.com/t/how-to-monitor-the-process-instance-based-on-pid/40231 "2023-06-15T12:12:50Z")\
**Posts on this page:** 2\
**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:** [June 15, 2023, 12:12pm UTC](https://community.dynatrace.com/t/how-to-monitor-the-process-instance-based-on-pid/40231/1 "2023-06-15T12:12:50Z")

</div>

Hi,

We have C++ technology process groups, have created the declarative process group rule so as to detect the C++ tech process groups. However, we couldn’t see all the process instances though they are different PID.

Any thoughts to detect the process instances?

Thanks,

Selvam.

---

<div class="post-metadata">

**Author:** ![dannemca](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dannemca/32/7215_2.png) [@dannemca](https://community.dynatrace.com/u/dannemca)\
**Post date:** [June 15, 2023, 2:19pm UTC](https://community.dynatrace.com/t/how-to-monitor-the-process-instance-based-on-pid/40231/2 "2023-06-15T14:19:27Z")

</div>

Try to define Environment Variables if you could not split them using the “normal” rules for Declarative process detection

> **[Process group detection](https://docs.dynatrace.com/docs/observe/infrastructure-observability/process-groups/configuration/pg-detection)**
>
> Ways to customize process-group detection
