# Monitor if a process is running or stopped

**URL:** <https://discuss.elastic.co/t/monitor-if-a-process-is-running-or-stopped/292411>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [December 19, 2021, 6:27pm UTC](https://discuss.elastic.co/t/monitor-if-a-process-is-running-or-stopped/292411 "2021-12-19T18:27:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin\_Brunette](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kevin_brunette/32/84375_2.png) [@Kevin\_Brunette](https://discuss.elastic.co/u/Kevin_Brunette)\
**Post date:** [December 19, 2021, 6:27pm UTC](https://discuss.elastic.co/t/monitor-if-a-process-is-running-or-stopped/292411/1 "2021-12-19T18:27:58Z")

</div>

Hi!

I'm trying to do a seemingly simple task of monitoring whether a process is running or stopped on an Ubuntu host. For example I want to know if a Java and Python based app are running or down. I'm aware there are some Metricbeat modules that allow you to monitor Java process that require the Jolokia library, but all I want is just an "running", "stopped" type field to indicate if something is running or stopped.

Is there a way to do this with Metricbeat?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [December 19, 2021, 6:40pm UTC](https://discuss.elastic.co/t/monitor-if-a-process-is-running-or-stopped/292411/2 "2021-12-19T18:40:41Z")

</div>

Yes with Metricbeat with the system module and process metricset

> **[System process metricset | Metricbeat Reference \[7.16\] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-process.html)**

---

<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:** [January 16, 2022, 8:41pm UTC](https://discuss.elastic.co/t/monitor-if-a-process-is-running-or-stopped/292411/3 "2022-01-16T20:41:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
