# How to get status of Zombie process in mertricbeat metrics?

**URL:** <https://discuss.elastic.co/t/how-to-get-status-of-zombie-process-in-mertricbeat-metrics/150845>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [October 3, 2018, 9:04am UTC](https://discuss.elastic.co/t/how-to-get-status-of-zombie-process-in-mertricbeat-metrics/150845 "2018-10-03T09:04:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aftab\_Ali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aftab_ali/32/35399_2.png) [@Aftab\_Ali](https://discuss.elastic.co/u/Aftab_Ali)\
**Post date:** [October 3, 2018, 9:04am UTC](https://discuss.elastic.co/t/how-to-get-status-of-zombie-process-in-mertricbeat-metrics/150845/1 "2018-10-03T09:04:15Z")

</div>

Dear Team,

I tried many times to get the status of zombies process, I did not get a zombie process, I followed the steps, please help me.

 ![Screenshot%20from%202018-10-03%2014-32-27](https://us1.discourse-cdn.com/elastic/original/3X/9/f/9f6812e4c67c0037441f0b20ffc5a9ca0db51848.png)

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [October 3, 2018, 9:57am UTC](https://discuss.elastic.co/t/how-to-get-status-of-zombie-process-in-mertricbeat-metrics/150845/2 "2018-10-03T09:57:38Z")

</div>

Hi @Aftab_Ali 🙂

Which version of Metricbeat are you using and what procedure are you following to get the zombie processes on your machine? (outside of Metricbeat). Asking in a different way, why are you sure that you actually have zombie processes and that there's an error on Metricbeat not showing them?

Best regards

---

<div class="post-metadata">

**Author:** ![Aftab\_Ali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aftab_ali/32/35399_2.png) [@Aftab\_Ali](https://discuss.elastic.co/u/Aftab_Ali)\
**Post date:** [October 3, 2018, 11:03am UTC](https://discuss.elastic.co/t/how-to-get-status-of-zombie-process-in-mertricbeat-metrics/150845/3 "2018-10-03T11:03:20Z")

</div>

Dear [Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro),

Thanks for the reply, I created zombie process, which is showing in top command and on top, I can see running and sleeping process and I created pie chart given images above and I am getting running, sleeping, unknown process but I generated zombie process for testing purpose but i am not getting zombie process count in kibana, i am using metricbeat 6.3.2 version.

You can also see the status of zombie process on top.

 ![Screenshot%20from%202018-10-03%2016-32-24](https://us1.discourse-cdn.com/elastic/original/3X/4/f/4f652e891cb2a17e3ab04fa85f8b341aa434d26b.png)

---

<div class="post-metadata">

**Author:** ![Mario\_Castro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mario_castro/32/35107_2.png) [@Mario\_Castro](https://discuss.elastic.co/u/Mario_Castro)\
**Post date:** [October 3, 2018, 11:20am UTC](https://discuss.elastic.co/t/how-to-get-status-of-zombie-process-in-mertricbeat-metrics/150845/4 "2018-10-03T11:20:32Z")

</div>

I'm not an expert in the field but I think that in the screenshot of `top` you don't have any zombie processes:

You have:  
`S`: interruptible sleep (waiting for an event to complete)  
`I`: I guess it's BSD, in such case it means that it is multi-threaded (using CLONE\_THREAD, like NPTL pthreads do)  
`R`: running or runnable (on run queue)

I don't see any `Z` which is the state of a zombie process.

Source: [http://thelinuxstuff.blogspot.com/2012/08/process-state-codes-in-ps-output.html](http://thelinuxstuff.blogspot.com/2012/08/process-state-codes-in-ps-output.html)

---

<div class="post-metadata">

**Author:** ![Aftab\_Ali](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aftab_ali/32/35399_2.png) [@Aftab\_Ali](https://discuss.elastic.co/u/Aftab_Ali)\
**Post date:** [October 4, 2018, 9:10am UTC](https://discuss.elastic.co/t/how-to-get-status-of-zombie-process-in-mertricbeat-metrics/150845/5 "2018-10-04T09:10:13Z")

</div>

Thanks for the reply, i will follow the given hyper link.

---

<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:** [November 1, 2018, 9:10am UTC](https://discuss.elastic.co/t/how-to-get-status-of-zombie-process-in-mertricbeat-metrics/150845/6 "2018-11-01T09:10:19Z")

</div>

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