# Topbeat: identifying applications from processes

**URL:** <https://discuss.elastic.co/t/topbeat-identifying-applications-from-processes/50097>\
**Category:** Beats\
**Created:** [May 16, 2016, 7:00am UTC](https://discuss.elastic.co/t/topbeat-identifying-applications-from-processes/50097 "2016-05-16T07:00:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![krushnat\_khawale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krushnat_khawale/32/6652_2.png) [@krushnat\_khawale](https://discuss.elastic.co/u/krushnat_khawale)\
**Post date:** [May 16, 2016, 7:00am UTC](https://discuss.elastic.co/t/topbeat-identifying-applications-from-processes/50097/1 "2016-05-16T07:00:17Z")

</div>

I am using Elasticsearch 2.1.0 **,** topbeat 1.1 on windows 7.  
I am monitoring one of the servers where web applications  
running. So there are multiple applications running on tomcat.

Last week our server was down due to more than 95% of  
continuous memory usage and when we drilled down using  
kibana's flexible dashboards for memory usage per process  
visualization and it shows java is using maximum memory.  
Now the problem is as there are multiple web application hosted  
on the same tomcat, **we want to figure out which application is**  
**creating the processes which are using so much memory**.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [May 17, 2016, 1:31pm UTC](https://discuss.elastic.co/t/topbeat-identifying-applications-from-processes/50097/2 "2016-05-17T13:31:57Z")

</div>

Are you running multiple instances of Tomcat, each with one web application deployed? If so you can upgrade to the latest 1.X release and it will provide you with the complete command line and user that the process was started with. This may help you distinguish the processes depending on how you start them.

> [@krushnat\_khawale](#):
>
> Now the problem is as there are multiple web application hosted on the same tomcat

If you have multiple web apps deployed in the same Tomcat instance then you won't be able to determine the app that is consuming the memory of that single process with Topbeat. Maybe Tomcat provides some insight into memory usage per web application. Otherwise you can try the tools provided by the JVM like `jmap`.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 9:51pm UTC](https://discuss.elastic.co/t/topbeat-identifying-applications-from-processes/50097/3 "2017-07-05T21:51:51Z")

</div>


