# Why metricbeat data showing process state as sleeping

**URL:** <https://discuss.elastic.co/t/why-metricbeat-data-showing-process-state-as-sleeping/233093>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [May 18, 2020, 11:18am UTC](https://discuss.elastic.co/t/why-metricbeat-data-showing-process-state-as-sleeping/233093 "2020-05-18T11:18:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![r.ganeshbabu](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r.ganeshbabu](https://discuss.elastic.co/u/r.ganeshbabu)\
**Post date:** [May 18, 2020, 11:18am UTC](https://discuss.elastic.co/t/why-metricbeat-data-showing-process-state-as-sleeping/233093/1 "2020-05-18T11:18:49Z")

</div>

Hi All,

I have installed metricbeat 6.8.8 in ubuntu machine and I'm able to see all the system metrics. The problem that I find all processes **`system.process.state`** metric, are showing as "Sleeping",

Though process like metricbeat, elasticsearch, graylog-server, mongodb service status is showing as running but in metricbeat data the mongodb state is showing as "Sleeping"

Please let us know your thoughts it would be helpful.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/a/9a4e185d0871968c03ab7b3284285d86964b4175.png)

Thanks,  
Ganeshbabu R

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [May 19, 2020, 10:36am UTC](https://discuss.elastic.co/t/why-metricbeat-data-showing-process-state-as-sleeping/233093/2 "2020-05-19T10:36:08Z")

</div>

Screenshots, you've posted, contain information about services, not strictly processes. Did you consider to use this metricset: [https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-service.html](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-service.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:** [June 16, 2020, 10:36am UTC](https://discuss.elastic.co/t/why-metricbeat-data-showing-process-state-as-sleeping/233093/3 "2020-06-16T10:36:16Z")

</div>

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