# How much disk and memory is my Elasticsearch using and occupying?

**URL:** https://discuss.elastic.co/t/how-much-disk-and-memory-is-my-elasticsearch-using-and-occupying/263926
**Category:** Elasticsearch
**Created:** [February 10, 2021, 7:11pm UTC](https://discuss.elastic.co/t/how-much-disk-and-memory-is-my-elasticsearch-using-and-occupying/263926 "2021-02-10T19:11:01Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mahalabobis](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@mahalabobis](https://discuss.elastic.co/u/mahalabobis)
#### Post date: [February 10, 2021, 7:11pm UTC](https://discuss.elastic.co/t/how-much-disk-and-memory-is-my-elasticsearch-using-and-occupying/263926/1 "2021-02-10T19:11:01Z")

</div>

I'm trying to determine my hardware needs. So I want to find exactly how much memory and disk space am I using and occupying.  
What are the commands to use?

---

<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: [February 10, 2021, 9:14pm UTC](https://discuss.elastic.co/t/how-much-disk-and-memory-is-my-elasticsearch-using-and-occupying/263926/2 "2021-02-10T21:14:50Z")

</div>

You can see this in Monitoring in Kibana pretty easily.

Otherwise the `_cat/nodes?v` end point will help.

---

<div class="post-metadata">

### Author: ![mahalabobis](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@mahalabobis](https://discuss.elastic.co/u/mahalabobis)
#### Post date: [February 27, 2021, 4:45pm UTC](https://discuss.elastic.co/t/how-much-disk-and-memory-is-my-elasticsearch-using-and-occupying/263926/3 "2021-02-27T16:45:09Z")

</div>

No I want to take a decision how much extra disk to rent. Now I'm using around 50GB for each of my 2 nodes and I need to expand the disk. How can I know how much more disk do I need?

---

<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: [February 28, 2021, 12:59am UTC](https://discuss.elastic.co/t/how-much-disk-and-memory-is-my-elasticsearch-using-and-occupying/263926/4 "2021-02-28T00:59:27Z")

</div>

If you run

`GET /_cat/nodes/?v&h=name,du,dt,dup`

You will get du = disk used, dt = disk total, dup = disk used percent  
Example

```
name du dt dup
instance-0000000075 146.8gb 240gb 61.17
instance-0000000074 146.1gb 240gb 60.88
instance-0000000073 167.8gb 240gb 69.96

```

This should help guide your decision.

---

<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: [March 28, 2021, 12:59am UTC](https://discuss.elastic.co/t/how-much-disk-and-memory-is-my-elasticsearch-using-and-occupying/263926/5 "2021-03-28T00:59:50Z")

</div>

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