# Check each node memory

**URL:** <https://discuss.elastic.co/t/check-each-node-memory/270658>\
**Category:** Elasticsearch\
**Created:** [April 20, 2021, 6:28am UTC](https://discuss.elastic.co/t/check-each-node-memory/270658 "2021-04-20T06:28:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anshumanabhishek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anshumanabhishek/32/70931_2.png) [@Anshumanabhishek](https://discuss.elastic.co/u/Anshumanabhishek)\
**Post date:** [April 20, 2021, 6:28am UTC](https://discuss.elastic.co/t/check-each-node-memory/270658/1 "2021-04-20T06:28:00Z")

</div>

I am able to get "os.mem.used\_percent" by this way curl -GET "[http://localhost:9200/\_nodes/stats/os](http://localhost:9200/_nodes/stats/os)".

But I need to get all nodes percent only. So, that I make automation script which check if percentage not goes beyond 90 and if then send the node name.

Is there any way to get only node name and its memory used percentage.

Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 20, 2021, 6:49am UTC](https://discuss.elastic.co/t/check-each-node-memory/270658/2 "2021-04-20T06:49:40Z")

</div>

`_cat/nodes` would show that.

---

<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 18, 2021, 6:50am UTC](https://discuss.elastic.co/t/check-each-node-memory/270658/3 "2021-05-18T06:50:33Z")

</div>

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