# How to know how much resources are being used for machine learning?

**URL:** <https://discuss.elastic.co/t/how-to-know-how-much-resources-are-being-used-for-machine-learning/330606>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [April 24, 2023, 7:16am UTC](https://discuss.elastic.co/t/how-to-know-how-much-resources-are-being-used-for-machine-learning/330606 "2023-04-24T07:16:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [April 24, 2023, 7:16am UTC](https://discuss.elastic.co/t/how-to-know-how-much-resources-are-being-used-for-machine-learning/330606/1 "2023-04-24T07:16:25Z")

</div>

Hi, we are considering to add a new node exclusively for machine learning, how I can find out how much resources are being used for machine learning for all the jobs runing in real time?

the documentation says that theres an api

`GET _ml/anomaly_detectors/_stats`

but it shows all jobs separetely, an seem only to show the configuration parameter of the jobs

also, in linux how can I identify the procces that is running the job, usin a command like "ps"

thanks!

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [April 24, 2023, 11:49am UTC](https://discuss.elastic.co/t/how-to-know-how-much-resources-are-being-used-for-machine-learning/330606/2 "2023-04-24T11:49:28Z")

</div>

The anomaly detection jobs run as a process called `autodetect` - one per job.

---

<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:** [May 22, 2023, 11:49am UTC](https://discuss.elastic.co/t/how-to-know-how-much-resources-are-being-used-for-machine-learning/330606/3 "2023-05-22T11:49:48Z")

</div>

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