# total number of threads in a jvm

**URL:** <https://community.dynatrace.com/t/total-number-of-threads-in-a-jvm/19465>\
**Category:** Open Q&A\
**Tags:** java\
**Created:** [June 2, 2020, 3:56pm UTC](https://community.dynatrace.com/t/total-number-of-threads-in-a-jvm/19465 "2020-06-02T15:56:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alangdima](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@alangdima](https://community.dynatrace.com/u/alangdima)\
**Post date:** [June 2, 2020, 3:56pm UTC](https://community.dynatrace.com/t/total-number-of-threads-in-a-jvm/19465/1 "2020-06-02T15:56:30Z")

</div>

Hi everyone, could you help me how can I get the total number of threads in a jvm. Not the current active threads o average active threads. For example on this server cldc172 in the instance SOA we had a maxium of 102 active threads. But I want to know the total number of threads that my jvm has, not just the active count of threads.

 ![25217-1591113098378.jpeg](https://global.discourse-cdn.com/dynatrace/original/3X/8/c/8cbbf7492822bf4550c2ad70d30f5fcd3b57c2bc.jpeg)

Thanks a lot, regards!!

---

<div class="post-metadata">

**Author:** ![ari\_polavarapu](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ari_polavarapu/32/9893_2.png) [@ari\_polavarapu](https://community.dynatrace.com/u/ari_polavarapu)\
**Post date:** [June 2, 2020, 7:59pm UTC](https://community.dynatrace.com/t/total-number-of-threads-in-a-jvm/19465/2 "2020-06-02T19:59:58Z")

</div>

Could a JVM plugin potentially be an option here? More info here → [JMX extensions — Dynatrace Docs](https://www.dynatrace.com/support/help/extend-dynatrace/extensions/jmx-extensions/jmx-extensions/)

Thanks,

Ari
